-
Notifications
You must be signed in to change notification settings - Fork 305
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
GLASSFISH-21261 #92
GLASSFISH-21261 #92
Conversation
|
||
public static void setFileProperties() | ||
{ | ||
if(System.getProperty("com.sun.appserv.winFileLockRetryLimit")!=null || System.getProperty("com.sun.appserv.winFileLockRetryLimit")!="" ) |
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.
that's a very strange condition. perhaps it should be && instead of || ?
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.
You can simplify it by
Integer retryCounter = Integer.getInteger("com.sun.appserv.winFileLockRetryLimit");
if (retryCounter != null && retryCounter > 0) {
FILE_OPERATION_MAX_RETRIES=retryCounter;
}
I'm pretty sure it will throw NPE if the property "com.sun.appserv.winFileLockRetryLimit" is unset. |
Ok will modify. Thanks. |
Thanks: #96 |
np, I like to see Glassfish is live and kicking! |
PAYARA-1904 Add jndi to get set ordinal commands (payara#1833)
Missed pom increments
No description provided.