-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZCS-11169: Upgraded log4j version to 2.17.1 and made respective changes #165
base: master
Are you sure you want to change the base?
Conversation
Changes looks good to me, approved! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are unnecessary empty lines through out the java files which are not required, can we remove them
} | ||
|
||
protected Map<String, String> getData() throws IOException { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
String line; | ||
|
||
try { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
bugQAContactMap.put(bugid, bugcontact); | ||
mLogger.debug("bugQAContact: put " + line); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
reader = null; | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
} | ||
|
||
protected Map<String, BugState> getData() throws IOException { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
public static File mRoot = new File("."); | ||
|
||
public static void usage(Options o) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
HelpFormatter hf = new HelpFormatter(); | ||
hf.printHelp("ResultsMain -h | -b <arg> -d <arg> [ -l <log4j> ]", o, true); | ||
System.exit(1); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line not required
|
||
mLogger.info(String.format("%s: executed %s, success %s, time %s, asserts %s", name, executed, success, | ||
time, asserts)); | ||
if (e.element("failure") != null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use curly braces for if block
These are all old files with empty lines, recently only indentation is corrected. Removing them is time consuming for these many files...Do we need to do this now? |
…ective code changes
3e09a6b
to
96f3948
Compare
Please squash commits and keep only to merge it. |
Issue :- Upgrade log4j version to 2.17.1
Solution : Upgraded log4j version to 2.17.1, did necessary code changes as well as updated the property file as per 2.17.1.