http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/collections/Multimaps.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/collections/Multimaps.java b/commons/src/main/java/com/twitter/common/collections/Multimaps.java index c51b6fe..d09cc07 100644 --- a/commons/src/main/java/com/twitter/common/collections/Multimaps.java +++ b/commons/src/main/java/com/twitter/common/collections/Multimaps.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.collections; import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/collections/Pair.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/collections/Pair.java b/commons/src/main/java/com/twitter/common/collections/Pair.java index 5f2e3f6..3de6d26 100644 --- a/commons/src/main/java/com/twitter/common/collections/Pair.java +++ b/commons/src/main/java/com/twitter/common/collections/Pair.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.collections; import javax.annotation.Nullable; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/inject/Bindings.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/inject/Bindings.java b/commons/src/main/java/com/twitter/common/inject/Bindings.java index e0acb1a..57654de 100644 --- a/commons/src/main/java/com/twitter/common/inject/Bindings.java +++ b/commons/src/main/java/com/twitter/common/inject/Bindings.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.inject; import java.lang.annotation.Annotation; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/inject/DefaultProvider.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/inject/DefaultProvider.java b/commons/src/main/java/com/twitter/common/inject/DefaultProvider.java index 8dc1c40..446a9ba 100644 --- a/commons/src/main/java/com/twitter/common/inject/DefaultProvider.java +++ b/commons/src/main/java/com/twitter/common/inject/DefaultProvider.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.inject; import com.google.common.base.Preconditions; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/inject/ProviderMethodModule.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/inject/ProviderMethodModule.java b/commons/src/main/java/com/twitter/common/inject/ProviderMethodModule.java index 64a4d3e..8406631 100644 --- a/commons/src/main/java/com/twitter/common/inject/ProviderMethodModule.java +++ b/commons/src/main/java/com/twitter/common/inject/ProviderMethodModule.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.inject; import com.google.inject.AbstractModule; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/inject/TimedInterceptor.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/inject/TimedInterceptor.java b/commons/src/main/java/com/twitter/common/inject/TimedInterceptor.java index d0aabd7..94b2551 100644 --- a/commons/src/main/java/com/twitter/common/inject/TimedInterceptor.java +++ b/commons/src/main/java/com/twitter/common/inject/TimedInterceptor.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.inject; import java.lang.annotation.ElementType; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/Base64ZlibCodec.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/Base64ZlibCodec.java b/commons/src/main/java/com/twitter/common/io/Base64ZlibCodec.java index e412659..ef31735 100644 --- a/commons/src/main/java/com/twitter/common/io/Base64ZlibCodec.java +++ b/commons/src/main/java/com/twitter/common/io/Base64ZlibCodec.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import java.io.ByteArrayInputStream; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/Codec.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/Codec.java b/commons/src/main/java/com/twitter/common/io/Codec.java index e3ef6b7..c9d5882 100644 --- a/commons/src/main/java/com/twitter/common/io/Codec.java +++ b/commons/src/main/java/com/twitter/common/io/Codec.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/CompatibilityCodec.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/CompatibilityCodec.java b/commons/src/main/java/com/twitter/common/io/CompatibilityCodec.java index 1274f94..878d35d 100644 --- a/commons/src/main/java/com/twitter/common/io/CompatibilityCodec.java +++ b/commons/src/main/java/com/twitter/common/io/CompatibilityCodec.java @@ -1,18 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/FileUtils.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/FileUtils.java b/commons/src/main/java/com/twitter/common/io/FileUtils.java index 454866a..f2ef5f7 100644 --- a/commons/src/main/java/com/twitter/common/io/FileUtils.java +++ b/commons/src/main/java/com/twitter/common/io/FileUtils.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import java.io.File; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/JsonCodec.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/JsonCodec.java b/commons/src/main/java/com/twitter/common/io/JsonCodec.java index 25bc6ce..c6c9631 100644 --- a/commons/src/main/java/com/twitter/common/io/JsonCodec.java +++ b/commons/src/main/java/com/twitter/common/io/JsonCodec.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import java.io.FilterOutputStream; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/Streamer.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/Streamer.java b/commons/src/main/java/com/twitter/common/io/Streamer.java index 27ae968..ce601b4 100644 --- a/commons/src/main/java/com/twitter/common/io/Streamer.java +++ b/commons/src/main/java/com/twitter/common/io/Streamer.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import com.google.common.base.Predicate; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/io/ThriftCodec.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/io/ThriftCodec.java b/commons/src/main/java/com/twitter/common/io/ThriftCodec.java index cf95bf6..4c7c289 100644 --- a/commons/src/main/java/com/twitter/common/io/ThriftCodec.java +++ b/commons/src/main/java/com/twitter/common/io/ThriftCodec.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.io; import com.google.common.base.Function; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/BufferedLog.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/BufferedLog.java b/commons/src/main/java/com/twitter/common/logging/BufferedLog.java index 54be868..75b05be 100644 --- a/commons/src/main/java/com/twitter/common/logging/BufferedLog.java +++ b/commons/src/main/java/com/twitter/common/logging/BufferedLog.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging; import com.google.common.base.Preconditions; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/Glog.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/Glog.java b/commons/src/main/java/com/twitter/common/logging/Glog.java index 64d9334..904b263 100644 --- a/commons/src/main/java/com/twitter/common/logging/Glog.java +++ b/commons/src/main/java/com/twitter/common/logging/Glog.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2012 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging; import javax.annotation.Nullable; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/Log.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/Log.java b/commons/src/main/java/com/twitter/common/logging/Log.java index 3ba4150..3c7b63a 100644 --- a/commons/src/main/java/com/twitter/common/logging/Log.java +++ b/commons/src/main/java/com/twitter/common/logging/Log.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging; import java.util.List; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/LogFormatter.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/LogFormatter.java b/commons/src/main/java/com/twitter/common/logging/LogFormatter.java index 6c27188..b5cd4d9 100644 --- a/commons/src/main/java/com/twitter/common/logging/LogFormatter.java +++ b/commons/src/main/java/com/twitter/common/logging/LogFormatter.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging; import java.util.logging.Formatter; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/LogUtil.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/LogUtil.java b/commons/src/main/java/com/twitter/common/logging/LogUtil.java index f18b705..fe612fc 100644 --- a/commons/src/main/java/com/twitter/common/logging/LogUtil.java +++ b/commons/src/main/java/com/twitter/common/logging/LogUtil.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging; import com.google.common.annotations.VisibleForTesting; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/RootLogConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/RootLogConfig.java b/commons/src/main/java/com/twitter/common/logging/RootLogConfig.java index 098ee44..8e0648d 100644 --- a/commons/src/main/java/com/twitter/common/logging/RootLogConfig.java +++ b/commons/src/main/java/com/twitter/common/logging/RootLogConfig.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeHandler.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeHandler.java b/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeHandler.java index 7340312..894a9b1 100644 --- a/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeHandler.java +++ b/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeHandler.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2013 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging.julbridge; import java.text.MessageFormat; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLevelConverter.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLevelConverter.java b/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLevelConverter.java index 6a4393e..50749d9 100644 --- a/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLevelConverter.java +++ b/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLevelConverter.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2013 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging.julbridge; import java.util.logging.Level; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLogManager.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLogManager.java b/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLogManager.java index e41a166..a9f771f 100644 --- a/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLogManager.java +++ b/commons/src/main/java/com/twitter/common/logging/julbridge/JULBridgeLogManager.java @@ -1,18 +1,16 @@ -// ================================================================================================= -// Copyright 2013 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging.julbridge; import java.util.logging.LogManager; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/logging/log4j/GlogLayout.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/logging/log4j/GlogLayout.java b/commons/src/main/java/com/twitter/common/logging/log4j/GlogLayout.java index fb2d908..6f0ffe5 100644 --- a/commons/src/main/java/com/twitter/common/logging/log4j/GlogLayout.java +++ b/commons/src/main/java/com/twitter/common/logging/log4j/GlogLayout.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2012 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.logging.log4j; import com.google.common.collect.ImmutableMap; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/Environment.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/Environment.java b/commons/src/main/java/com/twitter/common/net/Environment.java index 68de913..1609283 100644 --- a/commons/src/main/java/com/twitter/common/net/Environment.java +++ b/commons/src/main/java/com/twitter/common/net/Environment.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; /** http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/InetSocketAddressHelper.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/InetSocketAddressHelper.java b/commons/src/main/java/com/twitter/common/net/InetSocketAddressHelper.java index 5c970e0..e7b01df 100644 --- a/commons/src/main/java/com/twitter/common/net/InetSocketAddressHelper.java +++ b/commons/src/main/java/com/twitter/common/net/InetSocketAddressHelper.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import com.google.common.base.Function; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/ProxyAuthorizer.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/ProxyAuthorizer.java b/commons/src/main/java/com/twitter/common/net/ProxyAuthorizer.java index 151088a..5dbe653 100644 --- a/commons/src/main/java/com/twitter/common/net/ProxyAuthorizer.java +++ b/commons/src/main/java/com/twitter/common/net/ProxyAuthorizer.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import org.apache.commons.codec.binary.Base64; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/ProxyConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/ProxyConfig.java b/commons/src/main/java/com/twitter/common/net/ProxyConfig.java index d0748d8..0765bad 100644 --- a/commons/src/main/java/com/twitter/common/net/ProxyConfig.java +++ b/commons/src/main/java/com/twitter/common/net/ProxyConfig.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import java.net.InetSocketAddress; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/UrlHelper.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/UrlHelper.java b/commons/src/main/java/com/twitter/common/net/UrlHelper.java index a453336..3375f19 100644 --- a/commons/src/main/java/com/twitter/common/net/UrlHelper.java +++ b/commons/src/main/java/com/twitter/common/net/UrlHelper.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import com.google.common.base.Joiner; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/UrlResolver.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/UrlResolver.java b/commons/src/main/java/com/twitter/common/net/UrlResolver.java index 53e7ee7..1fd49b6 100644 --- a/commons/src/main/java/com/twitter/common/net/UrlResolver.java +++ b/commons/src/main/java/com/twitter/common/net/UrlResolver.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/UrlResolverUtil.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/UrlResolverUtil.java b/commons/src/main/java/com/twitter/common/net/UrlResolverUtil.java index cc63969..c92fcb6 100644 --- a/commons/src/main/java/com/twitter/common/net/UrlResolverUtil.java +++ b/commons/src/main/java/com/twitter/common/net/UrlResolverUtil.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import com.google.common.base.Function; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/UrlTokenizerUtil.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/UrlTokenizerUtil.java b/commons/src/main/java/com/twitter/common/net/UrlTokenizerUtil.java index 7a9770e..a985c48 100644 --- a/commons/src/main/java/com/twitter/common/net/UrlTokenizerUtil.java +++ b/commons/src/main/java/com/twitter/common/net/UrlTokenizerUtil.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net; import com.google.common.collect.ImmutableSet; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/GuiceServletConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/GuiceServletConfig.java b/commons/src/main/java/com/twitter/common/net/http/GuiceServletConfig.java index 98bc200..ab2f110 100644 --- a/commons/src/main/java/com/twitter/common/net/http/GuiceServletConfig.java +++ b/commons/src/main/java/com/twitter/common/net/http/GuiceServletConfig.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http; import com.google.common.base.Preconditions; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/HttpServerDispatch.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/HttpServerDispatch.java b/commons/src/main/java/com/twitter/common/net/http/HttpServerDispatch.java index efe9134..d5221a4 100644 --- a/commons/src/main/java/com/twitter/common/net/http/HttpServerDispatch.java +++ b/commons/src/main/java/com/twitter/common/net/http/HttpServerDispatch.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http; import java.util.Map; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/JettyHttpServerDispatch.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/JettyHttpServerDispatch.java b/commons/src/main/java/com/twitter/common/net/http/JettyHttpServerDispatch.java index d8c1bdf..378cc0d 100644 --- a/commons/src/main/java/com/twitter/common/net/http/JettyHttpServerDispatch.java +++ b/commons/src/main/java/com/twitter/common/net/http/JettyHttpServerDispatch.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/RequestLogger.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/RequestLogger.java b/commons/src/main/java/com/twitter/common/net/http/RequestLogger.java index f9c702c..62e03de 100644 --- a/commons/src/main/java/com/twitter/common/net/http/RequestLogger.java +++ b/commons/src/main/java/com/twitter/common/net/http/RequestLogger.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http; import java.util.Locale; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/filters/AbstractHttpFilter.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/filters/AbstractHttpFilter.java b/commons/src/main/java/com/twitter/common/net/http/filters/AbstractHttpFilter.java index a4a4d31..adb53ae 100644 --- a/commons/src/main/java/com/twitter/common/net/http/filters/AbstractHttpFilter.java +++ b/commons/src/main/java/com/twitter/common/net/http/filters/AbstractHttpFilter.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.filters; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/filters/HttpStatsFilter.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/filters/HttpStatsFilter.java b/commons/src/main/java/com/twitter/common/net/http/filters/HttpStatsFilter.java index 3af2e8d..a1d80fe 100644 --- a/commons/src/main/java/com/twitter/common/net/http/filters/HttpStatsFilter.java +++ b/commons/src/main/java/com/twitter/common/net/http/filters/HttpStatsFilter.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.filters; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/AbortHandler.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/AbortHandler.java b/commons/src/main/java/com/twitter/common/net/http/handlers/AbortHandler.java index bfacf4d..cf6d25c 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/AbortHandler.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/AbortHandler.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/AssetHandler.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/AssetHandler.java b/commons/src/main/java/com/twitter/common/net/http/handlers/AssetHandler.java index 3345932..83d139b 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/AssetHandler.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/AssetHandler.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import com.google.common.annotations.VisibleForTesting; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/ContentionPrinter.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/ContentionPrinter.java b/commons/src/main/java/com/twitter/common/net/http/handlers/ContentionPrinter.java index 823d651..edde43c 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/ContentionPrinter.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/ContentionPrinter.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import com.google.common.collect.Lists; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/HealthHandler.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/HealthHandler.java b/commons/src/main/java/com/twitter/common/net/http/handlers/HealthHandler.java index 360af9a..30509fc 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/HealthHandler.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/HealthHandler.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import com.google.common.base.Preconditions; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/HttpServletRequestParams.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/HttpServletRequestParams.java b/commons/src/main/java/com/twitter/common/net/http/handlers/HttpServletRequestParams.java index 51cde9f..6e75b8d 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/HttpServletRequestParams.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/HttpServletRequestParams.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import java.util.logging.Logger; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/LogConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/LogConfig.java b/commons/src/main/java/com/twitter/common/net/http/handlers/LogConfig.java index 88c6de1..b7a30a6 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/LogConfig.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/LogConfig.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/LogPrinter.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/LogPrinter.java b/commons/src/main/java/com/twitter/common/net/http/handlers/LogPrinter.java index 56ef2ab..3c69df2 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/LogPrinter.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/LogPrinter.java @@ -1,3 +1,16 @@ +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import java.io.File; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/net/http/handlers/QuitHandler.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/net/http/handlers/QuitHandler.java b/commons/src/main/java/com/twitter/common/net/http/handlers/QuitHandler.java index 3e82e99..38f1596 100644 --- a/commons/src/main/java/com/twitter/common/net/http/handlers/QuitHandler.java +++ b/commons/src/main/java/com/twitter/common/net/http/handlers/QuitHandler.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2011 Twitter, Inc. -// ------------------------------------------------------------------------------------------------- -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this work except in compliance with the License. -// You may obtain a copy of the License in the LICENSE file, or at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ================================================================================================= - +/** + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.twitter.common.net.http.handlers; import java.io.IOException;
