Code Review
/
dmaap
/
datarouter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
DR AAF CADI integration
[dmaap/datarouter.git]
/
datarouter-prov
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
datarouter
/
provisioning
/
utils
/
LogfileLoader.java
diff --git
a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java
b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java
index
af9f829
..
6c5a13f
100644
(file)
--- a/
datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java
+++ b/
datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoader.java
@@
-82,7
+82,7
@@
public class LogfileLoader extends Thread {
/**
\r
* This is a singleton -- there is only one LogfileLoader object in the server
\r
*/
\r
/**
\r
* This is a singleton -- there is only one LogfileLoader object in the server
\r
*/
\r
- private static LogfileLoader
p
;
\r
+ private static LogfileLoader
logfileLoader
;
\r
\r
/**
\r
* Get the singleton LogfileLoader object, and start it if it is not running.
\r
\r
/**
\r
* Get the singleton LogfileLoader object, and start it if it is not running.
\r
@@
-90,11
+90,11
@@
public class LogfileLoader extends Thread {
* @return the LogfileLoader
\r
*/
\r
public static synchronized LogfileLoader getLoader() {
\r
* @return the LogfileLoader
\r
*/
\r
public static synchronized LogfileLoader getLoader() {
\r
- if (
p
== null)
\r
-
p
= new LogfileLoader();
\r
- if (!
p
.isAlive())
\r
-
p
.start();
\r
- return
p
;
\r
+ if (
logfileLoader
== null)
\r
+
logfileLoader
= new LogfileLoader();
\r
+ if (!
logfileLoader
.isAlive())
\r
+
logfileLoader
.start();
\r
+ return
logfileLoader
;
\r
}
\r
\r
/**
\r
}
\r
\r
/**
\r