diff --git a/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java b/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java index 243080027e..5b88a66cfb 100644 --- a/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java +++ b/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java @@ -21,7 +21,18 @@ import java.io.InputStream; import java.lang.management.ManagementFactory; import java.nio.file.Paths; -import java.util.*; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Locale; +import java.util.Set; +import java.util.UUID; + + +import javax.management.MBeanServer; +import javax.management.ObjectName; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; @@ -66,7 +77,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import javax.management.*; public class TikaServerCli { diff --git a/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporter.java b/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporter.java index cdebb34551..00fd33b527 100644 --- a/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporter.java +++ b/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporter.java @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 org.apache.tika.server.mbean; import org.apache.tika.server.ServerStatus; diff --git a/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporterMBean.java b/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporterMBean.java index ca78f91af5..5473b42ea5 100644 --- a/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporterMBean.java +++ b/tika-server/src/main/java/org/apache/tika/server/mbean/ServerStatusExporterMBean.java @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 org.apache.tika.server.mbean; /**