Skip to content
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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

zimsuchitgupta
Copy link

@zimsuchitgupta zimsuchitgupta commented Apr 21, 2022

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.

@zimsuchitgupta
Copy link
Author

Changes looks good to me, approved!

Copy link

@dasiyogesh dasiyogesh left a 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 {

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 {

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);
}

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;
}
}

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 {

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) {

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);

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

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

@shrutig0510
Copy link
Contributor

shrutig0510 commented May 13, 2022

there are unnecessary empty lines through out the java files which are not required, can we remove them

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?

@jiteshsojitra
Copy link
Member

Please squash commits and keep only to merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants