Code Review
/
dmaap
/
messagerouter
/
mirroragent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Removed unused imports and log file"
[dmaap/messagerouter/mirroragent.git]
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
mr
/
dmaapMMAgent
/
MirrorMakerAgent.java
diff --git
a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
index
3b2f201
..
2252992
100644
(file)
--- a/
src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
+++ b/
src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
@@
-103,7
+103,7
@@
public class MirrorMakerAgent {
try {
input.close();
} catch (IOException e) {
try {
input.close();
} catch (IOException e) {
-
e.printStackTrace(
);
+
logger.error("exception occured in checkStartup "+e
);
}
}
}
}
}
}
@@
-120,7
+120,7
@@
public class MirrorMakerAgent {
try {
input.close();
} catch (IOException e) {
try {
input.close();
} catch (IOException e) {
-
e.printStackTrace(
);
+
logger.error("exception occured in checkStartup "+e
);
}
}
}
}
}
}
@@
-168,7
+168,7
@@
public class MirrorMakerAgent {
prop.store(out, "");
} catch (Exception e) {
prop.store(out, "");
} catch (Exception e) {
-
e.printStackTrace(
);
+
logger.error("exception occured in checkPropertiesFile "+e
);
}
} finally {
if (input != null) {
}
} finally {
if (input != null) {
@@
-182,7
+182,7
@@
public class MirrorMakerAgent {
try {
out.close();
} catch (IOException e) {
try {
out.close();
} catch (IOException e) {
-
e.printStackTrace(
);
+
logger.error("exception occured in checkPropertiesFile "+e
);
}
}
}
}
}
}