Fix sonar issues
[aai/babel.git] / src / main / java / org / onap / aai / auth / FileWatcher.java
index d974e66..1edad1d 100644 (file)
@@ -2,8 +2,8 @@
  * ============LICENSE_START=======================================================
  * org.onap.aai
  * ================================================================================
- * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
- * Copyright © 2017-2018 European Software Marketing Ltd.
+ * Copyright © 2017-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2019 European Software Marketing Ltd.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.auth;
 
 import java.io.File;
@@ -32,7 +33,7 @@ public abstract class FileWatcher extends TimerTask {
      *
      * @param file the file
      */
-    public FileWatcher(File file) {
+    protected FileWatcher(File file) {
         this.file = file;
         this.timeStamp = file.lastModified();
     }