annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
+annotation.processing.enabled.in.editor=true
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=Addressbook
application.vendor=Roland Haeder
+auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
file.reference.log4j-core-2.3.jar=lib/log4j-core-2.3.jar
file.reference.jcore.jar=./lib/jcore.jar
includes=**
+jar.archive.disabled=${jnlp.enabled}
jar.compress=false
+jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.log4j-api-2.3.jar}:\
${file.reference.log4j-core-2.3.jar}:\
${file.reference.commons-codec-1.10.jar}
# Space-separated list of extra javac options
javac.compilerargs=-Xlint:deprecation -Xlint:unchecked
-javac.deprecation=false
+javac.deprecation=true
javac.processorpath=\
${javac.classpath}
javac.source=1.7
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
-javadoc.author=false
+javadoc.author=true
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
-javadoc.private=false
+javadoc.private=true
javadoc.splitindex=true
javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
+javadoc.version=true
+javadoc.windowtitle=Addressbook Documentation
+jnlp.codebase.type=no.codebase
+jnlp.descriptor=application
+jnlp.enabled=false
+jnlp.mixed.code=default
+jnlp.offline-allowed=false
+jnlp.signed=false
+jnlp.signing=
+jnlp.signing.alias=
+jnlp.signing.keystore=
main.class=org.mxchange.addressbook.application.AddressbookApplication
+# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed
+manifest.custom.codebase=
+# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)
+manifest.custom.permissions=
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
+mkdist.disabled=true
platform.active=default_platform
project.license=gpl30
run.classpath=\
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Is it null?
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Is it null?
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
String companyName = contact.getCompanyName();
// If it is empty/null, then assume private contact
- if ((companyName == null) || (companyName.isEmpty())) {
+ if ((null == companyName) || (companyName.isEmpty())) {
// Now put all together: gender, surname, family name
// @todo Use mask
this.outputMessage(MessageFormat.format("Anrede, Vorname, Name: {0} {1} {2}", gender, contact.getFirstName(), contact.getFamilyName()));
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Is it null?
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Is it null?
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Is it null?
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Is it null?
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("validChars={0},message={1} - CALLED!", Arrays.toString(validChars), message)); //NOI18N
// The validChars must not null be null and filled with at least one char
- if (validChars == null) {
+ if (null == validChars) {
// Is null
throw new NullPointerException("validChars is null"); //NOI18N
} else if (validChars.length == 0) {
String input = null;
// Check if it is to short or to long
- while (((input == null) || ((input.length() < minLength) && (!allowEmpty))) || ((input.length() > 0) && (input.length() < minLength) && (allowEmpty)) || ((input instanceof String) && (input.length() > maxLength))) {
+ while (((null == input) || ((input.length() < minLength) && (!allowEmpty))) || ((input.length() > 0) && (input.length() < minLength) && (allowEmpty)) || ((input instanceof String) && (input.length() > maxLength))) {
// Output message
System.out.print(message);
this.getLogger().trace(MessageFormat.format("contact={0} CALLED!", contact)); //NOI18N
// Contact must not be null
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("manager={0} - CALLED!", manager)); //NOI18N
// Manager instance must not be null
- if (manager == null) {
+ if (null == manager) {
// Abort here
throw new NullPointerException("manager is null"); //NOI18N
}
this.getLogger().trace("CALLED!"); //NOI18N
// Make sure the contact is set
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// contact should not be null
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
@Override
public boolean isOwnContactFound () throws SQLException, IOException, BadTokenException, CorruptedDatabaseFileException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Get search criteria instance
- SearchableCriteria critera = new SearchCriteria();
+ SearchableCriteria criteria = new SearchCriteria();
// Add condition
- critera.addCriteria(AddressbookContactDatabaseConstants.COLUMN_OWN_CONTACT, true);
+ criteria.addCriteria(AddressbookContactDatabaseConstants.COLUMN_OWN_CONTACT, true);
// Get result
- Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(critera);
+ Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
// Deligate this call to backend
return result.hasNext();
this.getLogger().trace(MessageFormat.format("client={1} - CALLED!", client)); //NOI18N
// Make sure all parameters are set correctly
- if (client == null) {
+ if (null == client) {
// Abort here
throw new NullPointerException("client is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} - CALLED!", contact)); //NOI18N
// Contact instance must not be null
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} CALLED!", contact)); //NOI18N
// Contact must not be null
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} CALLED!", contact)); //NOI18N
// Contact must not be null
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("contact={0} CALLED!", contact)); //NOI18N
// Contact must not be null
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
this.getLogger().debug(MessageFormat.format("storeable={0}", storeable));
// It may return null
- if (storeable == null) {
+ if (null == storeable) {
// Nothing found
this.getLogger().warn("contact is null - returning null ...");
return null;
this.getLogger().trace(MessageFormat.format("contact={0} CALLED!", contact)); //NOI18N
// Sanity check
- if (contact == null) {
+ if (null == contact) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
}
log.trace(MessageFormat.format("menuList={0},menuType={1},client={2} - CALLED!", menuList, menuType, client)); //NOI18N
// Some instances must be set
- if (menuList == null) {
+ if (null == menuList) {
// Abort here
throw new NullPointerException("menuList is null"); //NOI18N
- } else if (client == null) {
+ } else if (null == client) {
// Abort here
throw new NullPointerException("contact is null"); //NOI18N
} else if (!(client instanceof AddressbookClient)) {
this.getLogger().trace(MessageFormat.format("client={0} CALLED!", client)); //NOI18N
// Client must not be null
- if (client == null) {
+ if (null == client) {
// Abort here
throw new NullPointerException("client is null"); //NOI18N
}
this.getLogger().trace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
// Client must not be null
- if (client == null) {
+ if (null == client) {
// Abort here
throw new NullPointerException("client is null");
}
this.getLogger().trace(MessageFormat.format("client={0} - CALLED!", client)); //NOI18N
// Client must not be null
- if (client == null) {
+ if (null == client) {
// Abort here
throw new NullPointerException("client is null");
} else if (!(client instanceof AddressbookClient)) {