Repository: aurora Updated Branches: refs/heads/master 86a547b92 -> f58cbf934
http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/testing/junit/rules/RetryTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/testing/junit/rules/RetryTest.java b/commons/src/test/java/com/twitter/common/testing/junit/rules/RetryTest.java index 847347b..dff4b6e 100644 --- a/commons/src/test/java/com/twitter/common/testing/junit/rules/RetryTest.java +++ b/commons/src/test/java/com/twitter/common/testing/junit/rules/RetryTest.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2015 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.testing.junit.rules; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/thrift/ThriftConnectionFactoryTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/thrift/ThriftConnectionFactoryTest.java b/commons/src/test/java/com/twitter/common/thrift/ThriftConnectionFactoryTest.java index 139d90e..c54d5ec 100644 --- a/commons/src/test/java/com/twitter/common/thrift/ThriftConnectionFactoryTest.java +++ b/commons/src/test/java/com/twitter/common/thrift/ThriftConnectionFactoryTest.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.thrift; import static org.hamcrest.CoreMatchers.allOf; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/thrift/ThriftFactoryTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/thrift/ThriftFactoryTest.java b/commons/src/test/java/com/twitter/common/thrift/ThriftFactoryTest.java index d1fcf3d..f98c62a 100644 --- a/commons/src/test/java/com/twitter/common/thrift/ThriftFactoryTest.java +++ b/commons/src/test/java/com/twitter/common/thrift/ThriftFactoryTest.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.thrift; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/thrift/ThriftTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/thrift/ThriftTest.java b/commons/src/test/java/com/twitter/common/thrift/ThriftTest.java index eea6b5b..dce34dc 100644 --- a/commons/src/test/java/com/twitter/common/thrift/ThriftTest.java +++ b/commons/src/test/java/com/twitter/common/thrift/ThriftTest.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.thrift; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/thrift/callers/AbstractCallerTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/thrift/callers/AbstractCallerTest.java b/commons/src/test/java/com/twitter/common/thrift/callers/AbstractCallerTest.java index cf55afe..edd881b 100644 --- a/commons/src/test/java/com/twitter/common/thrift/callers/AbstractCallerTest.java +++ b/commons/src/test/java/com/twitter/common/thrift/callers/AbstractCallerTest.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.thrift.callers; import com.twitter.common.quantity.Amount; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/thrift/callers/DeadlineCallerTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/thrift/callers/DeadlineCallerTest.java b/commons/src/test/java/com/twitter/common/thrift/callers/DeadlineCallerTest.java index 99e7b86..7826f2e 100644 --- a/commons/src/test/java/com/twitter/common/thrift/callers/DeadlineCallerTest.java +++ b/commons/src/test/java/com/twitter/common/thrift/callers/DeadlineCallerTest.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.thrift.callers; import com.google.common.testing.TearDown; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/thrift/callers/RetryingCallerTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/thrift/callers/RetryingCallerTest.java b/commons/src/test/java/com/twitter/common/thrift/callers/RetryingCallerTest.java index 62a2bab..c17bc05 100644 --- a/commons/src/test/java/com/twitter/common/thrift/callers/RetryingCallerTest.java +++ b/commons/src/test/java/com/twitter/common/thrift/callers/RetryingCallerTest.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.thrift.callers; import java.lang.reflect.Method; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/BackoffDeciderTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/BackoffDeciderTest.java b/commons/src/test/java/com/twitter/common/util/BackoffDeciderTest.java index b24452d..325b333 100644 --- a/commons/src/test/java/com/twitter/common/util/BackoffDeciderTest.java +++ b/commons/src/test/java/com/twitter/common/util/BackoffDeciderTest.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.util; import com.google.common.collect.Sets; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/BackoffHelperTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/BackoffHelperTest.java b/commons/src/test/java/com/twitter/common/util/BackoffHelperTest.java index 274878c..2c921e3 100644 --- a/commons/src/test/java/com/twitter/common/util/BackoffHelperTest.java +++ b/commons/src/test/java/com/twitter/common/util/BackoffHelperTest.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.util; import com.twitter.common.base.ExceptionalSupplier; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/LowResClockTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/LowResClockTest.java b/commons/src/test/java/com/twitter/common/util/LowResClockTest.java index d8961ed..7a21b9d 100644 --- a/commons/src/test/java/com/twitter/common/util/LowResClockTest.java +++ b/commons/src/test/java/com/twitter/common/util/LowResClockTest.java @@ -1,19 +1,16 @@ -// ================================================================================================= -// Copyright 2014 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.util; import java.util.concurrent.CountDownLatch; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/QueueDrainerTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/QueueDrainerTest.java b/commons/src/test/java/com/twitter/common/util/QueueDrainerTest.java index 88f76fa..15af03e 100644 --- a/commons/src/test/java/com/twitter/common/util/QueueDrainerTest.java +++ b/commons/src/test/java/com/twitter/common/util/QueueDrainerTest.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.util; import java.util.concurrent.BlockingQueue; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/RateLimitedCommandExecutorTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/RateLimitedCommandExecutorTest.java b/commons/src/test/java/com/twitter/common/util/RateLimitedCommandExecutorTest.java index 2f4d479..7e8a923 100644 --- a/commons/src/test/java/com/twitter/common/util/RateLimitedCommandExecutorTest.java +++ b/commons/src/test/java/com/twitter/common/util/RateLimitedCommandExecutorTest.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.util; import java.util.concurrent.BlockingQueue; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/SamplerTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/SamplerTest.java b/commons/src/test/java/com/twitter/common/util/SamplerTest.java index f798513..e7e23cb 100644 --- a/commons/src/test/java/com/twitter/common/util/SamplerTest.java +++ b/commons/src/test/java/com/twitter/common/util/SamplerTest.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.util; import org.easymock.IMocksControl; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/StateMachineTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/StateMachineTest.java b/commons/src/test/java/com/twitter/common/util/StateMachineTest.java index fe59928..537c1d9 100644 --- a/commons/src/test/java/com/twitter/common/util/StateMachineTest.java +++ b/commons/src/test/java/com/twitter/common/util/StateMachineTest.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.util; import com.google.common.collect.ImmutableSet; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/TruncatedBinaryBackoffTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/TruncatedBinaryBackoffTest.java b/commons/src/test/java/com/twitter/common/util/TruncatedBinaryBackoffTest.java index 1932be5..d0e5745 100644 --- a/commons/src/test/java/com/twitter/common/util/TruncatedBinaryBackoffTest.java +++ b/commons/src/test/java/com/twitter/common/util/TruncatedBinaryBackoffTest.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.util; import com.twitter.common.quantity.Amount; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/caching/CachingMethodProxyTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/caching/CachingMethodProxyTest.java b/commons/src/test/java/com/twitter/common/util/caching/CachingMethodProxyTest.java index a942182..115e7c1 100644 --- a/commons/src/test/java/com/twitter/common/util/caching/CachingMethodProxyTest.java +++ b/commons/src/test/java/com/twitter/common/util/caching/CachingMethodProxyTest.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.util.caching; import com.google.common.base.Predicate; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/caching/LRUCacheTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/caching/LRUCacheTest.java b/commons/src/test/java/com/twitter/common/util/caching/LRUCacheTest.java index 42af0f1..85127b6 100644 --- a/commons/src/test/java/com/twitter/common/util/caching/LRUCacheTest.java +++ b/commons/src/test/java/com/twitter/common/util/caching/LRUCacheTest.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.util.caching; import com.google.common.collect.Lists; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingExecutorServiceTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingExecutorServiceTest.java b/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingExecutorServiceTest.java index 59a335f..3b5ad06 100644 --- a/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingExecutorServiceTest.java +++ b/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingExecutorServiceTest.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.util.concurrent; import java.util.concurrent.Callable; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingScheduledExecutorServiceTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingScheduledExecutorServiceTest.java b/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingScheduledExecutorServiceTest.java index 6abe260..97ab3aa 100644 --- a/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingScheduledExecutorServiceTest.java +++ b/commons/src/test/java/com/twitter/common/util/concurrent/ExceptionHandlingScheduledExecutorServiceTest.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.util.concurrent; import java.lang.Exception; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/templating/StringTemplateHelperTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/templating/StringTemplateHelperTest.java b/commons/src/test/java/com/twitter/common/util/templating/StringTemplateHelperTest.java index 306288c..8556037 100644 --- a/commons/src/test/java/com/twitter/common/util/templating/StringTemplateHelperTest.java +++ b/commons/src/test/java/com/twitter/common/util/templating/StringTemplateHelperTest.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.util.templating; import java.io.StringWriter; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/util/testing/FakeClockTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/util/testing/FakeClockTest.java b/commons/src/test/java/com/twitter/common/util/testing/FakeClockTest.java index 9ea14fe..3b3fd13 100644 --- a/commons/src/test/java/com/twitter/common/util/testing/FakeClockTest.java +++ b/commons/src/test/java/com/twitter/common/util/testing/FakeClockTest.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.util.testing; import com.twitter.common.quantity.Amount; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/CandidateImplTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/CandidateImplTest.java b/commons/src/test/java/com/twitter/common/zookeeper/CandidateImplTest.java index d66c875..1b2ab80 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/CandidateImplTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/CandidateImplTest.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.zookeeper; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/CompoundServerSetTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/CompoundServerSetTest.java b/commons/src/test/java/com/twitter/common/zookeeper/CompoundServerSetTest.java index 19a4322..40e3b3c 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/CompoundServerSetTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/CompoundServerSetTest.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.zookeeper; import java.net.InetSocketAddress; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/DistributedLockTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/DistributedLockTest.java b/commons/src/test/java/com/twitter/common/zookeeper/DistributedLockTest.java index 4643062..e5fb7a6 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/DistributedLockTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/DistributedLockTest.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.zookeeper; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/GroupTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/GroupTest.java b/commons/src/test/java/com/twitter/common/zookeeper/GroupTest.java index a5342d9..85823ad 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/GroupTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/GroupTest.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.zookeeper; import java.util.concurrent.CountDownLatch; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/PartitionerTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/PartitionerTest.java b/commons/src/test/java/com/twitter/common/zookeeper/PartitionerTest.java index 2a0b774..38b1dac 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/PartitionerTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/PartitionerTest.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.zookeeper; import com.google.common.testing.TearDown; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/ServerSetImplTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/ServerSetImplTest.java b/commons/src/test/java/com/twitter/common/zookeeper/ServerSetImplTest.java index 64891a0..76d451a 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/ServerSetImplTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/ServerSetImplTest.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.zookeeper; import java.io.ByteArrayOutputStream; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/ServerSetsTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/ServerSetsTest.java b/commons/src/test/java/com/twitter/common/zookeeper/ServerSetsTest.java index 1c7d67c..943a8dd 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/ServerSetsTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/ServerSetsTest.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.zookeeper; import com.google.common.collect.ImmutableMap; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/SingletonServiceTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/SingletonServiceTest.java b/commons/src/test/java/com/twitter/common/zookeeper/SingletonServiceTest.java index 2d387ab..1efe89d 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/SingletonServiceTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/SingletonServiceTest.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.zookeeper; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/StaticServerSetTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/StaticServerSetTest.java b/commons/src/test/java/com/twitter/common/zookeeper/StaticServerSetTest.java index 0f09652..6fcb1bf 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/StaticServerSetTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/StaticServerSetTest.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.zookeeper; import java.net.InetSocketAddress; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperClientTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperClientTest.java b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperClientTest.java index f126b9e..301db79 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperClientTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperClientTest.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.zookeeper; import java.util.concurrent.CountDownLatch; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperMapTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperMapTest.java b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperMapTest.java index 1170778..fcb2dc6 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperMapTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperMapTest.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.zookeeper; import java.util.AbstractMap.SimpleEntry; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperNodeTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperNodeTest.java b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperNodeTest.java index f1ce3f3..c6efaaa 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperNodeTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperNodeTest.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.zookeeper; import java.util.List; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperUtilsTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperUtilsTest.java b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperUtilsTest.java index 1feba27..be411dc 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperUtilsTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/ZooKeeperUtilsTest.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.zookeeper; import com.google.common.base.Charsets; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/test/java/com/twitter/common/zookeeper/guice/ServerSetModuleTest.java ---------------------------------------------------------------------- diff --git a/commons/src/test/java/com/twitter/common/zookeeper/guice/ServerSetModuleTest.java b/commons/src/test/java/com/twitter/common/zookeeper/guice/ServerSetModuleTest.java index a9c8575..9701452 100644 --- a/commons/src/test/java/com/twitter/common/zookeeper/guice/ServerSetModuleTest.java +++ b/commons/src/test/java/com/twitter/common/zookeeper/guice/ServerSetModuleTest.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.zookeeper.guice; import java.util.Set;
