Replace Twitter copyright headers in commons. The IP was donated to the Apache Foundation so the copyright headers need to be updated to reflect their new status.
Testing Done: ./gradlew build -Pq Bugs closed: AURORA-1442 Reviewed at https://reviews.apache.org/r/37770/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/f58cbf93 Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/f58cbf93 Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/f58cbf93 Branch: refs/heads/master Commit: f58cbf9344c333908847463f999751f40bebae92 Parents: 86a547b Author: Zameer Manji <[email protected]> Authored: Tue Aug 25 13:58:54 2015 -0700 Committer: Zameer Manji <[email protected]> Committed: Tue Aug 25 13:58:54 2015 -0700 ---------------------------------------------------------------------- build.gradle | 12 +++++++ .../main/java/com/twitter/common/args/Arg.java | 29 ++++++++-------- .../java/com/twitter/common/args/ArgParser.java | 13 ++++++++ .../java/com/twitter/common/args/CmdLine.java | 29 ++++++++-------- .../java/com/twitter/common/args/NoParser.java | 29 ++++++++-------- .../java/com/twitter/common/args/Parser.java | 29 ++++++++-------- .../com/twitter/common/args/ParserOracle.java | 29 ++++++++-------- .../com/twitter/common/args/Positional.java | 29 ++++++++-------- .../java/com/twitter/common/args/Verifier.java | 29 ++++++++-------- .../com/twitter/common/args/VerifierFor.java | 13 ++++++++ .../common/args/apt/CmdLineProcessor.java | 29 ++++++++-------- .../twitter/common/args/apt/Configuration.java | 29 ++++++++-------- .../common/application/AbstractApplication.java | 29 ++++++++-------- .../twitter/common/application/AppLauncher.java | 29 ++++++++-------- .../twitter/common/application/Application.java | 29 ++++++++-------- .../twitter/common/application/Lifecycle.java | 29 ++++++++-------- .../common/application/ShutdownRegistry.java | 29 ++++++++-------- .../common/application/ShutdownStage.java | 29 ++++++++-------- .../common/application/StartupRegistry.java | 29 ++++++++-------- .../common/application/StartupStage.java | 29 ++++++++-------- .../application/http/DefaultQuitHandler.java | 29 ++++++++-------- .../common/application/http/GraphViewer.java | 29 ++++++++-------- .../application/http/HttpAssetConfig.java | 29 ++++++++-------- .../application/http/HttpFilterConfig.java | 13 ++++++++ .../application/http/HttpServletConfig.java | 29 ++++++++-------- .../common/application/http/Registration.java | 13 ++++++++ .../application/modules/AppLauncherModule.java | 29 ++++++++-------- .../application/modules/LifecycleModule.java | 29 ++++++++-------- .../modules/LocalServiceRegistry.java | 29 ++++++++-------- .../common/application/modules/LogModule.java | 29 ++++++++-------- .../application/modules/StatsExportModule.java | 29 ++++++++-------- .../common/application/modules/StatsModule.java | 29 ++++++++-------- .../application/modules/ThriftModule.java | 29 ++++++++-------- .../com/twitter/common/args/ArgFilters.java | 29 ++++++++-------- .../com/twitter/common/args/ArgScanner.java | 29 ++++++++-------- .../main/java/com/twitter/common/args/Args.java | 29 ++++++++-------- .../com/twitter/common/args/ArgumentInfo.java | 29 ++++++++-------- .../com/twitter/common/args/OptionInfo.java | 29 ++++++++-------- .../java/com/twitter/common/args/Parsers.java | 29 ++++++++-------- .../com/twitter/common/args/PositionalInfo.java | 29 ++++++++-------- .../java/com/twitter/common/args/TypeUtil.java | 29 ++++++++-------- .../java/com/twitter/common/args/Verifiers.java | 29 ++++++++-------- .../common/args/constraints/CanExecute.java | 29 ++++++++-------- .../constraints/CanExecuteFileVerifier.java | 29 ++++++++-------- .../common/args/constraints/CanRead.java | 29 ++++++++-------- .../args/constraints/CanReadFileVerifier.java | 29 ++++++++-------- .../common/args/constraints/CanWrite.java | 29 ++++++++-------- .../args/constraints/CanWriteFileVerifier.java | 29 ++++++++-------- .../twitter/common/args/constraints/Exists.java | 29 ++++++++-------- .../args/constraints/ExistsFileVerifier.java | 29 ++++++++-------- .../common/args/constraints/IsDirectory.java | 29 ++++++++-------- .../constraints/IsDirectoryFileVerifier.java | 29 ++++++++-------- .../common/args/constraints/NotEmpty.java | 29 ++++++++-------- .../constraints/NotEmptyIterableVerifier.java | 29 ++++++++-------- .../constraints/NotEmptyStringVerifier.java | 29 ++++++++-------- .../common/args/constraints/NotNegative.java | 29 ++++++++-------- .../constraints/NotNegativeNumberVerifier.java | 29 ++++++++-------- .../common/args/constraints/NotNull.java | 29 ++++++++-------- .../args/constraints/NotNullVerifier.java | 29 ++++++++-------- .../common/args/constraints/Positive.java | 29 ++++++++-------- .../constraints/PositiveNumberVerifier.java | 29 ++++++++-------- .../twitter/common/args/constraints/Range.java | 29 ++++++++-------- .../args/constraints/RangeNumberVerifier.java | 29 ++++++++-------- .../common/args/parsers/AmountParser.java | 29 ++++++++-------- .../common/args/parsers/BooleanParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/ByteParser.java | 29 ++++++++-------- .../common/args/parsers/CharacterParser.java | 29 ++++++++-------- .../common/args/parsers/ClassParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/DateParser.java | 29 ++++++++-------- .../common/args/parsers/DoubleParser.java | 29 ++++++++-------- .../common/args/parsers/DurationParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/EnumParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/FileParser.java | 29 ++++++++-------- .../common/args/parsers/FloatParser.java | 29 ++++++++-------- .../args/parsers/InetSocketAddressParser.java | 29 ++++++++-------- .../common/args/parsers/IntegerParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/ListParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/LongParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/MapParser.java | 29 ++++++++-------- .../parsers/NonParameterizedTypeParser.java | 29 ++++++++-------- .../common/args/parsers/NumberParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/PairParser.java | 29 ++++++++-------- .../common/args/parsers/PatternParser.java | 29 ++++++++-------- .../common/args/parsers/RangeParser.java | 13 ++++++++ .../twitter/common/args/parsers/SetParser.java | 29 ++++++++-------- .../common/args/parsers/ShortParser.java | 29 ++++++++-------- .../common/args/parsers/StringParser.java | 29 ++++++++-------- .../args/parsers/TypeParameterizedParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/URIParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/URLParser.java | 29 ++++++++-------- .../twitter/common/args/parsers/UnitParser.java | 29 ++++++++-------- .../twitter/common/base/CachingSupplier.java | 29 ++++++++-------- .../base/CallableExceptionalSupplier.java | 29 ++++++++-------- .../java/com/twitter/common/base/Closure.java | 29 ++++++++-------- .../java/com/twitter/common/base/Closures.java | 29 ++++++++-------- .../java/com/twitter/common/base/Command.java | 29 ++++++++-------- .../java/com/twitter/common/base/Commands.java | 29 ++++++++-------- .../java/com/twitter/common/base/Either.java | 13 ++++++++ .../common/base/ExceptionTransporter.java | 29 ++++++++-------- .../twitter/common/base/ExceptionalClosure.java | 29 ++++++++-------- .../twitter/common/base/ExceptionalCommand.java | 29 ++++++++-------- .../common/base/ExceptionalFunction.java | 29 ++++++++-------- .../common/base/ExceptionalFunctions.java | 29 ++++++++-------- .../common/base/ExceptionalSupplier.java | 29 ++++++++-------- .../java/com/twitter/common/base/Function.java | 29 ++++++++-------- .../twitter/common/base/MorePreconditions.java | 29 ++++++++-------- .../com/twitter/common/base/MoreSuppliers.java | 29 ++++++++-------- .../java/com/twitter/common/base/Supplier.java | 29 ++++++++-------- .../java/com/twitter/common/base/SupplierE.java | 29 ++++++++-------- .../com/twitter/common/collections/Bits.java | 29 ++++++++-------- .../common/collections/BoundedQueue.java | 29 ++++++++-------- .../twitter/common/collections/Iterables2.java | 29 ++++++++-------- .../twitter/common/collections/Multimaps.java | 29 ++++++++-------- .../com/twitter/common/collections/Pair.java | 29 ++++++++-------- .../com/twitter/common/inject/Bindings.java | 29 ++++++++-------- .../twitter/common/inject/DefaultProvider.java | 29 ++++++++-------- .../common/inject/ProviderMethodModule.java | 29 ++++++++-------- .../twitter/common/inject/TimedInterceptor.java | 29 ++++++++-------- .../com/twitter/common/io/Base64ZlibCodec.java | 13 ++++++++ .../main/java/com/twitter/common/io/Codec.java | 29 ++++++++-------- .../twitter/common/io/CompatibilityCodec.java | 28 ++++++++-------- .../java/com/twitter/common/io/FileUtils.java | 29 ++++++++-------- .../java/com/twitter/common/io/JsonCodec.java | 29 ++++++++-------- .../java/com/twitter/common/io/Streamer.java | 29 ++++++++-------- .../java/com/twitter/common/io/ThriftCodec.java | 29 ++++++++-------- .../com/twitter/common/logging/BufferedLog.java | 29 ++++++++-------- .../java/com/twitter/common/logging/Glog.java | 29 ++++++++-------- .../java/com/twitter/common/logging/Log.java | 29 ++++++++-------- .../twitter/common/logging/LogFormatter.java | 13 ++++++++ .../com/twitter/common/logging/LogUtil.java | 29 ++++++++-------- .../twitter/common/logging/RootLogConfig.java | 13 ++++++++ .../logging/julbridge/JULBridgeHandler.java | 29 ++++++++-------- .../julbridge/JULBridgeLevelConverter.java | 29 ++++++++-------- .../logging/julbridge/JULBridgeLogManager.java | 28 ++++++++-------- .../common/logging/log4j/GlogLayout.java | 29 ++++++++-------- .../com/twitter/common/net/Environment.java | 29 ++++++++-------- .../common/net/InetSocketAddressHelper.java | 29 ++++++++-------- .../com/twitter/common/net/ProxyAuthorizer.java | 29 ++++++++-------- .../com/twitter/common/net/ProxyConfig.java | 29 ++++++++-------- .../java/com/twitter/common/net/UrlHelper.java | 29 ++++++++-------- .../com/twitter/common/net/UrlResolver.java | 29 ++++++++-------- .../com/twitter/common/net/UrlResolverUtil.java | 29 ++++++++-------- .../twitter/common/net/UrlTokenizerUtil.java | 29 ++++++++-------- .../common/net/http/GuiceServletConfig.java | 29 ++++++++-------- .../common/net/http/HttpServerDispatch.java | 29 ++++++++-------- .../net/http/JettyHttpServerDispatch.java | 29 ++++++++-------- .../twitter/common/net/http/RequestLogger.java | 13 ++++++++ .../net/http/filters/AbstractHttpFilter.java | 13 ++++++++ .../net/http/filters/HttpStatsFilter.java | 13 ++++++++ .../common/net/http/handlers/AbortHandler.java | 29 ++++++++-------- .../common/net/http/handlers/AssetHandler.java | 29 ++++++++-------- .../net/http/handlers/ContentionPrinter.java | 29 ++++++++-------- .../common/net/http/handlers/HealthHandler.java | 29 ++++++++-------- .../http/handlers/HttpServletRequestParams.java | 13 ++++++++ .../common/net/http/handlers/LogConfig.java | 29 ++++++++-------- .../common/net/http/handlers/LogPrinter.java | 13 ++++++++ .../common/net/http/handlers/QuitHandler.java | 29 ++++++++-------- .../http/handlers/StringTemplateServlet.java | 13 ++++++++ .../net/http/handlers/TextResponseHandler.java | 29 ++++++++-------- .../net/http/handlers/ThreadStackPrinter.java | 29 ++++++++-------- .../common/net/http/handlers/ThriftServlet.java | 29 ++++++++-------- .../net/http/handlers/TimeSeriesDataSource.java | 29 ++++++++-------- .../common/net/http/handlers/VarsHandler.java | 29 ++++++++-------- .../net/http/handlers/VarsJsonHandler.java | 13 ++++++++ .../loadbalancing/LeastConnectedStrategy.java | 29 ++++++++-------- .../common/net/loadbalancing/LoadBalancer.java | 29 ++++++++-------- .../net/loadbalancing/LoadBalancerImpl.java | 29 ++++++++-------- .../loadbalancing/LoadBalancingStrategy.java | 29 ++++++++-------- .../net/loadbalancing/MarkDeadStrategy.java | 29 ++++++++-------- .../MarkDeadStrategyWithHostCheck.java | 28 ++++++++-------- .../net/loadbalancing/RandomStrategy.java | 29 ++++++++-------- .../net/loadbalancing/RequestTracker.java | 29 ++++++++-------- .../net/loadbalancing/RoundRobinStrategy.java | 29 ++++++++-------- .../StaticLoadBalancingStrategy.java | 29 ++++++++-------- .../net/loadbalancing/SubsetStrategy.java | 29 ++++++++-------- .../loadbalancing/TrafficMonitorAdapter.java | 29 ++++++++-------- .../net/monitoring/ConnectionMonitor.java | 29 ++++++++-------- .../common/net/monitoring/TrafficMonitor.java | 29 ++++++++-------- .../com/twitter/common/net/pool/Connection.java | 29 ++++++++-------- .../common/net/pool/ConnectionFactory.java | 29 ++++++++-------- .../twitter/common/net/pool/ConnectionPool.java | 29 ++++++++-------- .../twitter/common/net/pool/DynamicHostSet.java | 29 ++++++++-------- .../common/net/pool/DynamicHostSetUtil.java | 29 ++++++++-------- .../twitter/common/net/pool/DynamicPool.java | 29 ++++++++-------- .../com/twitter/common/net/pool/MetaPool.java | 29 ++++++++-------- .../com/twitter/common/net/pool/ObjectPool.java | 29 ++++++++-------- .../net/pool/ResourceExhaustedException.java | 29 ++++++++-------- .../common/objectsize/ObjectSizeCalculator.java | 29 ++++++++-------- .../com/twitter/common/quantity/Amount.java | 29 ++++++++-------- .../java/com/twitter/common/quantity/Data.java | 29 ++++++++-------- .../java/com/twitter/common/quantity/Time.java | 29 ++++++++-------- .../java/com/twitter/common/quantity/Unit.java | 29 ++++++++-------- .../common/stats/ApproximateHistogram.java | 29 ++++++++-------- .../com/twitter/common/stats/CounterMap.java | 29 ++++++++-------- .../common/stats/CounterMapWithTopKey.java | 29 ++++++++-------- .../java/com/twitter/common/stats/Elapsed.java | 13 ++++++++ .../java/com/twitter/common/stats/Entropy.java | 29 ++++++++-------- .../com/twitter/common/stats/Histogram.java | 29 ++++++++-------- .../com/twitter/common/stats/Histograms.java | 13 ++++++++ .../java/com/twitter/common/stats/JvmStats.java | 29 ++++++++-------- .../com/twitter/common/stats/MovingAverage.java | 29 ++++++++-------- .../twitter/common/stats/MovingWindowDelta.java | 29 ++++++++-------- .../common/stats/NumericStatExporter.java | 29 ++++++++-------- .../com/twitter/common/stats/Percentile.java | 29 ++++++++-------- .../com/twitter/common/stats/PipelineStats.java | 29 ++++++++-------- .../com/twitter/common/stats/Precision.java | 13 ++++++++ .../common/stats/PrintableHistogram.java | 29 ++++++++-------- .../java/com/twitter/common/stats/Rate.java | 29 ++++++++-------- .../java/com/twitter/common/stats/Ratio.java | 29 ++++++++-------- .../com/twitter/common/stats/RecordingStat.java | 29 ++++++++-------- .../twitter/common/stats/RecordingStatImpl.java | 29 ++++++++-------- .../com/twitter/common/stats/RequestStats.java | 29 ++++++++-------- .../twitter/common/stats/ReservoirSampler.java | 13 ++++++++ .../com/twitter/common/stats/SampledStat.java | 29 ++++++++-------- .../com/twitter/common/stats/Significance.java | 29 ++++++++-------- .../com/twitter/common/stats/SlidingStats.java | 29 ++++++++-------- .../java/com/twitter/common/stats/Stat.java | 29 ++++++++-------- .../java/com/twitter/common/stats/StatImpl.java | 29 ++++++++-------- .../com/twitter/common/stats/StatRegistry.java | 29 ++++++++-------- .../com/twitter/common/stats/Statistics.java | 29 ++++++++-------- .../common/stats/StatisticsInterface.java | 29 ++++++++-------- .../java/com/twitter/common/stats/Stats.java | 29 ++++++++-------- .../com/twitter/common/stats/StatsProvider.java | 29 ++++++++-------- .../com/twitter/common/stats/TimeSeries.java | 29 ++++++++-------- .../common/stats/TimeSeriesRepository.java | 29 ++++++++-------- .../common/stats/TimeSeriesRepositoryImpl.java | 29 ++++++++-------- .../java/com/twitter/common/stats/Windowed.java | 29 ++++++++-------- .../common/stats/WindowedApproxHistogram.java | 29 ++++++++-------- .../twitter/common/stats/WindowedHistogram.java | 29 ++++++++-------- .../common/stats/WindowedStatistics.java | 13 ++++++++ .../common/stats/testing/RealHistogram.java | 29 ++++++++-------- .../common/testing/TearDownRegistry.java | 29 ++++++++-------- .../common/testing/easymock/EasyMockTest.java | 29 ++++++++-------- .../common/testing/easymock/IterableEquals.java | 13 ++++++++ .../common/testing/junit/rules/Retry.java | 29 ++++++++-------- .../common/testing/mockito/MockitoTest.java | 29 ++++++++-------- .../java/com/twitter/common/thrift/Config.java | 29 ++++++++-------- .../thrift/TResourceExhaustedException.java | 29 ++++++++-------- .../common/thrift/TTimeoutException.java | 29 ++++++++-------- .../common/thrift/TTransportConnection.java | 29 ++++++++-------- .../java/com/twitter/common/thrift/Thrift.java | 29 ++++++++-------- .../common/thrift/ThriftConnectionFactory.java | 29 ++++++++-------- .../twitter/common/thrift/ThriftException.java | 29 ++++++++-------- .../twitter/common/thrift/ThriftFactory.java | 29 ++++++++-------- .../java/com/twitter/common/thrift/Util.java | 29 ++++++++-------- .../twitter/common/thrift/callers/Caller.java | 29 ++++++++-------- .../common/thrift/callers/CallerDecorator.java | 29 ++++++++-------- .../common/thrift/callers/DeadlineCaller.java | 29 ++++++++-------- .../common/thrift/callers/DebugCaller.java | 29 ++++++++-------- .../common/thrift/callers/RetryingCaller.java | 29 ++++++++-------- .../thrift/callers/StatTrackingCaller.java | 29 ++++++++-------- .../common/thrift/callers/ThriftCaller.java | 29 ++++++++-------- .../TMonitoredNonblockingServerSocket.java | 29 ++++++++-------- .../thrift/monitoring/TMonitoredProcessor.java | 29 ++++++++-------- .../monitoring/TMonitoredServerSocket.java | 29 ++++++++-------- .../common/thrift/testing/MockTSocket.java | 29 ++++++++-------- .../common/thrift/testing/TestThriftTypes.java | 29 ++++++++-------- .../com/twitter/common/util/BackoffDecider.java | 29 ++++++++-------- .../com/twitter/common/util/BackoffHelper.java | 29 ++++++++-------- .../twitter/common/util/BackoffStrategy.java | 29 ++++++++-------- .../java/com/twitter/common/util/BuildInfo.java | 29 ++++++++-------- .../java/com/twitter/common/util/Clock.java | 29 ++++++++-------- .../twitter/common/util/CommandExecutor.java | 29 ++++++++-------- .../java/com/twitter/common/util/DateUtils.java | 29 ++++++++-------- .../java/com/twitter/common/util/FileUtils.java | 29 ++++++++-------- .../com/twitter/common/util/LowResClock.java | 29 ++++++++-------- .../com/twitter/common/util/ParsingUtil.java | 29 ++++++++-------- .../com/twitter/common/util/QueueDrainer.java | 29 ++++++++-------- .../java/com/twitter/common/util/Random.java | 29 ++++++++-------- .../twitter/common/util/RangeNormalizer.java | 29 ++++++++-------- .../common/util/RateLimitedCommandExecutor.java | 29 ++++++++-------- .../twitter/common/util/RetryingRunnable.java | 29 ++++++++-------- .../java/com/twitter/common/util/Sampler.java | 29 ++++++++-------- .../com/twitter/common/util/StartWatch.java | 29 ++++++++-------- .../main/java/com/twitter/common/util/Stat.java | 35 ++++++++------------ .../com/twitter/common/util/StateMachine.java | 29 ++++++++-------- .../java/com/twitter/common/util/Timer.java | 29 ++++++++-------- .../common/util/TruncatedBinaryBackoff.java | 29 ++++++++-------- .../com/twitter/common/util/caching/Cache.java | 29 ++++++++-------- .../common/util/caching/CachingMethodProxy.java | 29 ++++++++-------- .../twitter/common/util/caching/LRUCache.java | 29 ++++++++-------- .../util/concurrent/BackingOffFutureTask.java | 29 ++++++++-------- .../ExceptionHandlingExecutorService.java | 13 ++++++++ ...ceptionHandlingScheduledExecutorService.java | 13 ++++++++ .../concurrent/ExecutorServiceShutdown.java | 29 ++++++++-------- .../concurrent/ForwardingExecutorService.java | 29 ++++++++-------- .../common/util/concurrent/MoreExecutors.java | 13 ++++++++ .../util/concurrent/RetryingFutureTask.java | 29 ++++++++-------- .../common/util/concurrent/TaskConverter.java | 13 ++++++++ .../logging/ResourceLoggingConfigurator.java | 29 ++++++++-------- .../util/logging/UnresettableLogManager.java | 29 ++++++++-------- .../util/templating/StringTemplateHelper.java | 13 ++++++++ .../twitter/common/util/testing/FakeClock.java | 29 ++++++++-------- .../twitter/common/util/testing/FakeTicker.java | 13 ++++++++ .../webassets/bootstrap/BootstrapModule.java | 29 ++++++++-------- .../common/webassets/jquery/JQueryModule.java | 29 ++++++++-------- .../com/twitter/common/zookeeper/Candidate.java | 29 ++++++++-------- .../twitter/common/zookeeper/CandidateImpl.java | 29 ++++++++-------- .../common/zookeeper/CompoundServerSet.java | 13 ++++++++ .../common/zookeeper/DistributedLock.java | 29 ++++++++-------- .../common/zookeeper/DistributedLockImpl.java | 29 ++++++++-------- .../com/twitter/common/zookeeper/Group.java | 29 ++++++++-------- .../twitter/common/zookeeper/Partitioner.java | 29 ++++++++-------- .../com/twitter/common/zookeeper/ServerSet.java | 29 ++++++++-------- .../twitter/common/zookeeper/ServerSetImpl.java | 29 ++++++++-------- .../twitter/common/zookeeper/ServerSets.java | 13 ++++++++ .../common/zookeeper/SingletonService.java | 29 ++++++++-------- .../common/zookeeper/StaticServerSet.java | 13 ++++++++ .../common/zookeeper/ZooKeeperClient.java | 29 ++++++++-------- .../twitter/common/zookeeper/ZooKeeperMap.java | 29 ++++++++-------- .../twitter/common/zookeeper/ZooKeeperNode.java | 13 ++++++++ .../common/zookeeper/ZooKeeperUtils.java | 29 ++++++++-------- .../common/zookeeper/guice/ServerSetModule.java | 29 ++++++++-------- .../guice/client/ZooKeeperClientModule.java | 29 ++++++++-------- .../client/flagged/FlaggedClientConfig.java | 29 ++++++++-------- .../zookeeper/testing/BaseZooKeeperTest.java | 29 ++++++++-------- .../zookeeper/testing/ZooKeeperTestServer.java | 29 ++++++++-------- .../http/graphview/dygraph-combined.js | 14 +++++++- .../application/http/graphview/dygraph-extra.js | 13 ++++++++ .../application/http/graphview/grapher.js | 29 ++++++++-------- .../application/http/graphview/graphview.html | 29 ++++++++-------- .../common/application/http/graphview/parser.js | 29 ++++++++-------- .../common/net/http/handlers/logconfig.st | 18 ---------- .../common/net/http/handlers/logprinter.st | 18 ---------- .../twitter/common/net/http/handlers/thrift.st | 18 ---------- .../2.1.1/css/bootstrap-responsive.min.css | 17 ++++++---- .../bootstrap/2.1.1/css/bootstrap.min.css | 17 ++++++---- .../bootstrap/2.1.1/js/bootstrap.min.js | 13 ++++++++ .../2.3.2/css/bootstrap-responsive.min.css | 17 ++++++---- .../bootstrap/2.3.2/css/bootstrap.min.css | 17 ++++++---- .../bootstrap/2.3.2/js/bootstrap.min.js | 13 ++++++++ .../webassets/jquery/js/jquery-1.8.2.min.js | 13 ++++++++ .../thrift/com/twitter/thrift/endpoint.thrift | 16 --------- .../common/application/AppLauncherTest.java | 29 ++++++++-------- .../modules/LifecycleModuleTest.java | 13 ++++++++ .../modules/LocalServiceRegistryTest.java | 13 ++++++++ .../modules/StartStatPollerTest.java | 13 ++++++++ .../com/twitter/common/args/ArgFiltersTest.java | 29 ++++++++-------- .../com/twitter/common/args/ArgScannerTest.java | 29 ++++++++-------- .../java/com/twitter/common/args/ArgTest.java | 29 ++++++++-------- .../java/com/twitter/common/args/ArgsTest.java | 29 ++++++++-------- .../com/twitter/common/args/OptionInfoTest.java | 29 ++++++++-------- .../com/twitter/common/args/ParsersTest.java | 29 ++++++++-------- .../common/args/argfilterstest/ArgsRoot.java | 29 ++++++++-------- .../args/argfilterstest/subpackageA/ArgsA.java | 29 ++++++++-------- .../subpackageA/subsubpackage1/ArgsA1.java | 29 ++++++++-------- .../args/argfilterstest/subpackageB/ArgsB.java | 29 ++++++++-------- .../subpackageBwithSuffix/ArgsBWithSuffix.java | 29 ++++++++-------- .../common/base/CachingSupplierTest.java | 29 ++++++++-------- .../com/twitter/common/base/ClosuresTest.java | 29 ++++++++-------- .../com/twitter/common/base/CommandsTest.java | 29 ++++++++-------- .../com/twitter/common/base/EitherTest.java | 13 ++++++++ .../common/base/ExceptionTransporterTest.java | 29 ++++++++-------- .../common/base/ExceptionalFunctionsTest.java | 29 ++++++++-------- .../common/base/MorePreconditionsTest.java | 29 ++++++++-------- .../twitter/common/base/MoreSuppliersTest.java | 29 ++++++++-------- .../twitter/common/collections/BitsTest.java | 29 ++++++++-------- .../common/collections/BoundedQueueTest.java | 29 ++++++++-------- .../common/collections/Iterables2Test.java | 29 ++++++++-------- .../twitter/common/collections/PairTest.java | 29 ++++++++-------- .../com/twitter/common/inject/BindingsTest.java | 13 ++++++++ .../common/inject/DefaultProviderTest.java | 29 ++++++++-------- .../twitter/common/io/Base64ZlibCodecTest.java | 13 ++++++++ .../twitter/common/io/CodecTestUtilities.java | 29 ++++++++-------- .../common/io/CompatibilityCodecTest.java | 29 ++++++++-------- .../com/twitter/common/io/FileUtilsTest.java | 13 ++++++++ .../com/twitter/common/io/JsonCodecTest.java | 29 ++++++++-------- .../com/twitter/common/io/ThriftCodecTest.java | 29 ++++++++-------- .../twitter/common/logging/BufferedLogTest.java | 29 ++++++++-------- .../common/logging/LogFormatterTest.java | 13 ++++++++ .../com/twitter/common/logging/LogUtilTest.java | 29 ++++++++-------- .../common/logging/RootLogConfigTest.java | 13 ++++++++ .../logging/julbridge/JULBridgeHandlerTest.java | 29 ++++++++-------- .../julbridge/JULBridgeLevelConverterTest.java | 13 ++++++++ .../julbridge/JULBridgeLogManagerTest.java | 29 ++++++++-------- .../common/net/InetSocketAddressHelperTest.java | 29 ++++++++-------- .../com/twitter/common/net/UrlHelperTest.java | 29 ++++++++-------- .../com/twitter/common/net/UrlResolverTest.java | 29 ++++++++-------- .../twitter/common/net/UrlResolverUtilTest.java | 29 ++++++++-------- .../common/net/UrlTokenizerUtilTest.java | 29 ++++++++-------- .../common/net/http/RequestLoggerTest.java | 13 ++++++++ .../filters/HttpStatsFilterIntegrationTest.java | 13 ++++++++ .../net/http/filters/HttpStatsFilterTest.java | 13 ++++++++ .../net/http/handlers/AssetHandlerTest.java | 29 ++++++++-------- .../handlers/HttpServletRequestParamsTest.java | 13 ++++++++ .../net/http/handlers/LogPrinterTest.java | 13 ++++++++ .../net/http/handlers/StatSupplierTestBase.java | 13 ++++++++ .../http/handlers/TimeSeriesDataSourceTest.java | 29 ++++++++-------- .../net/http/handlers/VarsHandlerTest.java | 13 ++++++++ .../net/http/handlers/VarsJsonHandlerTest.java | 13 ++++++++ .../LeastConnectedStrategyTest.java | 29 ++++++++-------- .../net/loadbalancing/LoadBalancerImplTest.java | 29 ++++++++-------- .../net/loadbalancing/MarkDeadStrategyTest.java | 29 ++++++++-------- .../MarkDeadStrategyWithHostCheckTest.java | 29 ++++++++-------- .../net/loadbalancing/RandomStrategyTest.java | 29 ++++++++-------- .../loadbalancing/RoundRobinStrategyTest.java | 29 ++++++++-------- .../net/loadbalancing/SubsetStrategyTest.java | 29 ++++++++-------- .../net/monitoring/TrafficMonitorTest.java | 29 ++++++++-------- .../common/net/pool/ConnectionPoolTest.java | 29 ++++++++-------- .../common/net/pool/DynamicHostSetUtilTest.java | 29 ++++++++-------- .../common/net/pool/DynamicPoolTest.java | 29 ++++++++-------- .../objectsize/ObjectSizeCalculatorTest.java | 29 ++++++++-------- .../com/twitter/common/quantity/AmountTest.java | 29 ++++++++-------- .../common/stats/ApproximateHistogramTest.java | 13 ++++++++ .../com/twitter/common/stats/ElapsedTest.java | 13 ++++++++ .../com/twitter/common/stats/EntropyTest.java | 29 ++++++++-------- .../common/stats/MergedHistogramTest.java | 29 ++++++++-------- .../twitter/common/stats/MovingAverageTest.java | 29 ++++++++-------- .../common/stats/MovingWindowDeltaTest.java | 29 ++++++++-------- .../common/stats/NumericStatExporterTest.java | 29 ++++++++-------- .../twitter/common/stats/PercentileTest.java | 29 ++++++++-------- .../twitter/common/stats/PipelineStatsTest.java | 29 ++++++++-------- .../common/stats/PrintableHistogramTest.java | 29 ++++++++-------- .../java/com/twitter/common/stats/RateTest.java | 29 ++++++++-------- .../common/stats/ReservoirSamplerTest.java | 13 ++++++++ .../twitter/common/stats/StatisticsTest.java | 29 ++++++++-------- .../com/twitter/common/stats/StatsTest.java | 29 ++++++++-------- .../stats/TimeSeriesRepositoryImplTest.java | 29 ++++++++-------- .../common/stats/WindowedHistogramTest.java | 29 ++++++++-------- .../twitter/common/stats/WindowedStatsTest.java | 13 ++++++++ .../com/twitter/common/stats/WindowedTest.java | 29 ++++++++-------- .../common/testing/TearDownRegistryTest.java | 29 ++++++++-------- .../testing/easymock/EasyMockTestTest.java | 29 ++++++++-------- .../testing/easymock/IterableEqualsTest.java | 13 ++++++++ .../common/testing/junit/rules/RetryTest.java | 29 ++++++++-------- .../thrift/ThriftConnectionFactoryTest.java | 29 ++++++++-------- .../common/thrift/ThriftFactoryTest.java | 29 ++++++++-------- .../com/twitter/common/thrift/ThriftTest.java | 29 ++++++++-------- .../thrift/callers/AbstractCallerTest.java | 29 ++++++++-------- .../thrift/callers/DeadlineCallerTest.java | 29 ++++++++-------- .../thrift/callers/RetryingCallerTest.java | 29 ++++++++-------- .../twitter/common/util/BackoffDeciderTest.java | 29 ++++++++-------- .../twitter/common/util/BackoffHelperTest.java | 29 ++++++++-------- .../twitter/common/util/LowResClockTest.java | 29 ++++++++-------- .../twitter/common/util/QueueDrainerTest.java | 29 ++++++++-------- .../util/RateLimitedCommandExecutorTest.java | 29 ++++++++-------- .../com/twitter/common/util/SamplerTest.java | 29 ++++++++-------- .../twitter/common/util/StateMachineTest.java | 29 ++++++++-------- .../common/util/TruncatedBinaryBackoffTest.java | 29 ++++++++-------- .../util/caching/CachingMethodProxyTest.java | 29 ++++++++-------- .../common/util/caching/LRUCacheTest.java | 29 ++++++++-------- .../ExceptionHandlingExecutorServiceTest.java | 13 ++++++++ ...ionHandlingScheduledExecutorServiceTest.java | 13 ++++++++ .../templating/StringTemplateHelperTest.java | 13 ++++++++ .../common/util/testing/FakeClockTest.java | 29 ++++++++-------- .../common/zookeeper/CandidateImplTest.java | 29 ++++++++-------- .../common/zookeeper/CompoundServerSetTest.java | 13 ++++++++ .../common/zookeeper/DistributedLockTest.java | 29 ++++++++-------- .../com/twitter/common/zookeeper/GroupTest.java | 29 ++++++++-------- .../common/zookeeper/PartitionerTest.java | 29 ++++++++-------- .../common/zookeeper/ServerSetImplTest.java | 29 ++++++++-------- .../common/zookeeper/ServerSetsTest.java | 13 ++++++++ .../common/zookeeper/SingletonServiceTest.java | 29 ++++++++-------- .../common/zookeeper/StaticServerSetTest.java | 13 ++++++++ .../common/zookeeper/ZooKeeperClientTest.java | 29 ++++++++-------- .../common/zookeeper/ZooKeeperMapTest.java | 29 ++++++++-------- .../common/zookeeper/ZooKeeperNodeTest.java | 13 ++++++++ .../common/zookeeper/ZooKeeperUtilsTest.java | 29 ++++++++-------- .../zookeeper/guice/ServerSetModuleTest.java | 13 ++++++++ 459 files changed, 5906 insertions(+), 6210 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 5052708..9444886 100644 --- a/build.gradle +++ b/build.gradle @@ -133,6 +133,12 @@ project(':commons-args') { compile "com.google.code.findbugs:jsr305:${jsrRev}" compile "commons-lang:commons-lang:${commonsLangRev}" } + + apply plugin: 'license' + license { + header rootProject.file('config/checkstyle/apache.header') + strictCheck true + } } project(':commons') { @@ -141,6 +147,12 @@ project(':commons') { version = thriftRev } + apply plugin: 'license' + license { + header rootProject.file('config/checkstyle/apache.header') + strictCheck true + } + dependencies { compile project(':commons-args') http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/Arg.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/Arg.java b/commons-args/src/main/java/com/twitter/common/args/Arg.java index 2f18029..6269c7f 100644 --- a/commons-args/src/main/java/com/twitter/common/args/Arg.java +++ b/commons-args/src/main/java/com/twitter/common/args/Arg.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.args; import javax.annotation.Nullable; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/ArgParser.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/ArgParser.java b/commons-args/src/main/java/com/twitter/common/args/ArgParser.java index 9900f6f..f1b412f 100644 --- a/commons-args/src/main/java/com/twitter/common/args/ArgParser.java +++ b/commons-args/src/main/java/com/twitter/common/args/ArgParser.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.args; import java.lang.annotation.Retention; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/CmdLine.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/CmdLine.java b/commons-args/src/main/java/com/twitter/common/args/CmdLine.java index 13453d9..68c7e58 100644 --- a/commons-args/src/main/java/com/twitter/common/args/CmdLine.java +++ b/commons-args/src/main/java/com/twitter/common/args/CmdLine.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.args; import java.lang.annotation.Retention; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/NoParser.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/NoParser.java b/commons-args/src/main/java/com/twitter/common/args/NoParser.java index f58beaf..d0bebc1 100644 --- a/commons-args/src/main/java/com/twitter/common/args/NoParser.java +++ b/commons-args/src/main/java/com/twitter/common/args/NoParser.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.args; /** http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/Parser.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/Parser.java b/commons-args/src/main/java/com/twitter/common/args/Parser.java index 947ef0c..cd1eebb 100644 --- a/commons-args/src/main/java/com/twitter/common/args/Parser.java +++ b/commons-args/src/main/java/com/twitter/common/args/Parser.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.args; import java.lang.reflect.Type; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/ParserOracle.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/ParserOracle.java b/commons-args/src/main/java/com/twitter/common/args/ParserOracle.java index f9fccd4..0d8fe46 100644 --- a/commons-args/src/main/java/com/twitter/common/args/ParserOracle.java +++ b/commons-args/src/main/java/com/twitter/common/args/ParserOracle.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.args; import com.google.common.reflect.TypeToken; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/Positional.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/Positional.java b/commons-args/src/main/java/com/twitter/common/args/Positional.java index 92cf660..d62b98c 100644 --- a/commons-args/src/main/java/com/twitter/common/args/Positional.java +++ b/commons-args/src/main/java/com/twitter/common/args/Positional.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.args; import java.lang.annotation.Retention; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/Verifier.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/Verifier.java b/commons-args/src/main/java/com/twitter/common/args/Verifier.java index 763cd69..fc7ada1 100644 --- a/commons-args/src/main/java/com/twitter/common/args/Verifier.java +++ b/commons-args/src/main/java/com/twitter/common/args/Verifier.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.args; import java.lang.annotation.Annotation; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/VerifierFor.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/VerifierFor.java b/commons-args/src/main/java/com/twitter/common/args/VerifierFor.java index 39ce525..0ac2383 100644 --- a/commons-args/src/main/java/com/twitter/common/args/VerifierFor.java +++ b/commons-args/src/main/java/com/twitter/common/args/VerifierFor.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.args; import java.lang.annotation.Annotation; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/apt/CmdLineProcessor.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/apt/CmdLineProcessor.java b/commons-args/src/main/java/com/twitter/common/args/apt/CmdLineProcessor.java index ab1f255..0e793ef 100644 --- a/commons-args/src/main/java/com/twitter/common/args/apt/CmdLineProcessor.java +++ b/commons-args/src/main/java/com/twitter/common/args/apt/CmdLineProcessor.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.args.apt; import java.io.Closeable; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons-args/src/main/java/com/twitter/common/args/apt/Configuration.java ---------------------------------------------------------------------- diff --git a/commons-args/src/main/java/com/twitter/common/args/apt/Configuration.java b/commons-args/src/main/java/com/twitter/common/args/apt/Configuration.java index 1254fc2..d19940a 100644 --- a/commons-args/src/main/java/com/twitter/common/args/apt/Configuration.java +++ b/commons-args/src/main/java/com/twitter/common/args/apt/Configuration.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.args.apt; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/AbstractApplication.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/AbstractApplication.java b/commons/src/main/java/com/twitter/common/application/AbstractApplication.java index 239a9ef..17514e3 100644 --- a/commons/src/main/java/com/twitter/common/application/AbstractApplication.java +++ b/commons/src/main/java/com/twitter/common/application/AbstractApplication.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.application; import java.util.Collections; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/AppLauncher.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/AppLauncher.java b/commons/src/main/java/com/twitter/common/application/AppLauncher.java index 6b4ccc3..700454f 100644 --- a/commons/src/main/java/com/twitter/common/application/AppLauncher.java +++ b/commons/src/main/java/com/twitter/common/application/AppLauncher.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.application; import java.lang.reflect.Field; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/Application.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/Application.java b/commons/src/main/java/com/twitter/common/application/Application.java index c3203c0..5a2a9b8 100644 --- a/commons/src/main/java/com/twitter/common/application/Application.java +++ b/commons/src/main/java/com/twitter/common/application/Application.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.application; import com.google.inject.Module; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/Lifecycle.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/Lifecycle.java b/commons/src/main/java/com/twitter/common/application/Lifecycle.java index 28a667d..5c7af1f 100644 --- a/commons/src/main/java/com/twitter/common/application/Lifecycle.java +++ b/commons/src/main/java/com/twitter/common/application/Lifecycle.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.application; import java.lang.Thread.UncaughtExceptionHandler; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/ShutdownRegistry.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/ShutdownRegistry.java b/commons/src/main/java/com/twitter/common/application/ShutdownRegistry.java index 993d273..dc20861 100644 --- a/commons/src/main/java/com/twitter/common/application/ShutdownRegistry.java +++ b/commons/src/main/java/com/twitter/common/application/ShutdownRegistry.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.application; import java.util.List; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/ShutdownStage.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/ShutdownStage.java b/commons/src/main/java/com/twitter/common/application/ShutdownStage.java index 8c8b2bd..09a7229 100644 --- a/commons/src/main/java/com/twitter/common/application/ShutdownStage.java +++ b/commons/src/main/java/com/twitter/common/application/ShutdownStage.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.application; import java.lang.annotation.Retention; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/StartupRegistry.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/StartupRegistry.java b/commons/src/main/java/com/twitter/common/application/StartupRegistry.java index 0643aff..943c7af 100644 --- a/commons/src/main/java/com/twitter/common/application/StartupRegistry.java +++ b/commons/src/main/java/com/twitter/common/application/StartupRegistry.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.application; import java.util.Set; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/StartupStage.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/StartupStage.java b/commons/src/main/java/com/twitter/common/application/StartupStage.java index b8e6a52..0938cee 100644 --- a/commons/src/main/java/com/twitter/common/application/StartupStage.java +++ b/commons/src/main/java/com/twitter/common/application/StartupStage.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.application; import java.lang.annotation.Retention; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/http/DefaultQuitHandler.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/http/DefaultQuitHandler.java b/commons/src/main/java/com/twitter/common/application/http/DefaultQuitHandler.java index 2b5d0d5..544b4dc 100644 --- a/commons/src/main/java/com/twitter/common/application/http/DefaultQuitHandler.java +++ b/commons/src/main/java/com/twitter/common/application/http/DefaultQuitHandler.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.application.http; import java.util.logging.Logger; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/http/GraphViewer.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/http/GraphViewer.java b/commons/src/main/java/com/twitter/common/application/http/GraphViewer.java index 5313c7e..adb1ddc 100644 --- a/commons/src/main/java/com/twitter/common/application/http/GraphViewer.java +++ b/commons/src/main/java/com/twitter/common/application/http/GraphViewer.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.application.http; import com.google.inject.Binder; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/http/HttpAssetConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/http/HttpAssetConfig.java b/commons/src/main/java/com/twitter/common/application/http/HttpAssetConfig.java index 4940751..ed7a2bd 100644 --- a/commons/src/main/java/com/twitter/common/application/http/HttpAssetConfig.java +++ b/commons/src/main/java/com/twitter/common/application/http/HttpAssetConfig.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.application.http; import java.net.URL; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/http/HttpFilterConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/http/HttpFilterConfig.java b/commons/src/main/java/com/twitter/common/application/http/HttpFilterConfig.java index 864c621..59b746f 100644 --- a/commons/src/main/java/com/twitter/common/application/http/HttpFilterConfig.java +++ b/commons/src/main/java/com/twitter/common/application/http/HttpFilterConfig.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.application.http; import javax.servlet.Filter; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/http/HttpServletConfig.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/http/HttpServletConfig.java b/commons/src/main/java/com/twitter/common/application/http/HttpServletConfig.java index 00479f0..d3b8829 100644 --- a/commons/src/main/java/com/twitter/common/application/http/HttpServletConfig.java +++ b/commons/src/main/java/com/twitter/common/application/http/HttpServletConfig.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.application.http; import javax.servlet.http.HttpServlet; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/http/Registration.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/http/Registration.java b/commons/src/main/java/com/twitter/common/application/http/Registration.java index b17bd85..fef5d09 100644 --- a/commons/src/main/java/com/twitter/common/application/http/Registration.java +++ b/commons/src/main/java/com/twitter/common/application/http/Registration.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.application.http; import java.lang.annotation.Retention; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/modules/AppLauncherModule.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/modules/AppLauncherModule.java b/commons/src/main/java/com/twitter/common/application/modules/AppLauncherModule.java index 0145e02..5c95fa2 100644 --- a/commons/src/main/java/com/twitter/common/application/modules/AppLauncherModule.java +++ b/commons/src/main/java/com/twitter/common/application/modules/AppLauncherModule.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.application.modules; import java.lang.Thread.UncaughtExceptionHandler; http://git-wip-us.apache.org/repos/asf/aurora/blob/f58cbf93/commons/src/main/java/com/twitter/common/application/modules/LifecycleModule.java ---------------------------------------------------------------------- diff --git a/commons/src/main/java/com/twitter/common/application/modules/LifecycleModule.java b/commons/src/main/java/com/twitter/common/application/modules/LifecycleModule.java index 49f4780..1d9af17 100644 --- a/commons/src/main/java/com/twitter/common/application/modules/LifecycleModule.java +++ b/commons/src/main/java/com/twitter/common/application/modules/LifecycleModule.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.application.modules; import java.lang.annotation.Retention;
