]> git.mxchange.org Git - juser-login-core.git/commitdiff
converted line-ending (why?)
authorRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 17:27:13 +0000 (19:27 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 17:27:13 +0000 (19:27 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
nbproject/project.properties
src/org/mxchange/jusercore/events/user/AdminAddedUserEvent.java
src/org/mxchange/jusercore/events/user/AdminUserAddedEvent.java

index e25a3c133a10248faeedeccc27c86d55da4c7810..53bf939d5fdaf46529bd7c24f2f63f20fcc774cf 100644 (file)
-annotation.processing.enabled=true\r
-annotation.processing.enabled.in.editor=true\r
-annotation.processing.processors.list=\r
-annotation.processing.run.all.processors=true\r
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output\r
-application.title=juser-core\r
-application.vendor=Roland Haeder\r
-auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml\r
-build.classes.dir=${build.dir}/classes\r
-build.classes.excludes=**/*.java,**/*.form\r
-# This directory is removed when the project is cleaned:\r
-build.dir=build\r
-build.generated.dir=${build.dir}/generated\r
-build.generated.sources.dir=${build.dir}/generated-sources\r
-# Only compile against the classpath explicitly listed here:\r
-build.sysclasspath=ignore\r
-build.test.classes.dir=${build.dir}/test/classes\r
-build.test.results.dir=${build.dir}/test/results\r
-# Uncomment to specify the preferred debugger connection transport:\r
-#debug.transport=dt_socket\r
-debug.classpath=\\r
-    ${run.classpath}\r
-debug.test.classpath=\\r
-    ${run.test.classpath}\r
-# Files in build.classes.dir which should be excluded from distribution jar\r
-dist.archive.excludes=\r
-# This directory is removed when the project is cleaned:\r
-dist.dir=dist\r
-dist.jar=${dist.dir}/juser-core.jar\r
-dist.javadoc.dir=${dist.dir}/javadoc\r
-endorsed.classpath=\r
-excludes=\r
-file.reference.commons-codec-1.10.jar=lib/commons-codec-1.10.jar\r
-file.reference.jcontacts-core.jar=lib/jcontacts-core.jar\r
-file.reference.jcore.jar=lib/jcore.jar\r
-file.reference.jcoreee.jar=lib/jcoreee.jar\r
-includes=**\r
-jar.archive.disabled=${jnlp.enabled}\r
-jar.compress=false\r
-jar.index=${jnlp.enabled}\r
-javac.classpath=\\r
-    ${file.reference.jcore.jar}:\\r
-    ${file.reference.jcoreee.jar}:\\r
-    ${file.reference.jcontacts-core.jar}:\\r
-    ${file.reference.commons-codec-1.10.jar}:\\r
-    ${libs.javaee-api-7.0.classpath}\r
-# Space-separated list of extra javac options\r
-javac.compilerargs=-Xlint:unchecked -Xlint:deprecation\r
-javac.deprecation=true\r
-javac.external.vm=false\r
-javac.processorpath=\\r
-    ${javac.classpath}\r
-javac.source=1.7\r
-javac.target=1.7\r
-javac.test.classpath=\\r
-    ${javac.classpath}:\\r
-    ${build.classes.dir}\r
-javac.test.processorpath=\\r
-    ${javac.test.classpath}\r
-javadoc.additionalparam=\r
-javadoc.author=true\r
-javadoc.encoding=${source.encoding}\r
-javadoc.noindex=false\r
-javadoc.nonavbar=false\r
-javadoc.notree=false\r
-javadoc.private=true\r
-javadoc.splitindex=true\r
-javadoc.use=true\r
-javadoc.version=true\r
-javadoc.windowtitle=User Library\r
-jnlp.codebase.type=no.codebase\r
-jnlp.descriptor=application\r
-jnlp.enabled=false\r
-jnlp.mixed.code=default\r
-jnlp.offline-allowed=false\r
-jnlp.signed=false\r
-jnlp.signing=\r
-jnlp.signing.alias=\r
-jnlp.signing.keystore=\r
-# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed\r
-manifest.custom.codebase=\r
-# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)\r
-manifest.custom.permissions=\r
-meta.inf.dir=${src.dir}/META-INF\r
-mkdist.disabled=true\r
-platform.active=default_platform\r
-project.license=gpl30\r
-run.classpath=\\r
-    ${javac.classpath}:\\r
-    ${build.classes.dir}\r
-# Space-separated list of JVM arguments used when running the project.\r
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.\r
-# To set system properties for unit tests define test-sys-prop.name=value:\r
-run.jvmargs=\r
-run.test.classpath=\\r
-    ${javac.test.classpath}:\\r
-    ${build.test.classes.dir}\r
-source.encoding=UTF-8\r
-source.reference.jcontacts-core.jar=../jcontacts-core/src/\r
-source.reference.jcore.jar=../jcore/src/\r
-source.reference.jcoreee.jar=../jcoreee/src/\r
-src.dir=src\r
-test.src.dir=test\r
+annotation.processing.enabled=true
+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=juser-core
+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:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+build.generated.sources.dir=${build.dir}/generated-sources
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+# Uncomment to specify the preferred debugger connection transport:
+#debug.transport=dt_socket
+debug.classpath=\
+    ${run.classpath}
+debug.test.classpath=\
+    ${run.test.classpath}
+# Files in build.classes.dir which should be excluded from distribution jar
+dist.archive.excludes=
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/juser-core.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+endorsed.classpath=
+excludes=
+file.reference.commons-codec-1.10.jar=lib/commons-codec-1.10.jar
+file.reference.jcontacts-core.jar=lib/jcontacts-core.jar
+file.reference.jcore.jar=lib/jcore.jar
+file.reference.jcoreee.jar=lib/jcoreee.jar
+includes=**
+jar.archive.disabled=${jnlp.enabled}
+jar.compress=false
+jar.index=${jnlp.enabled}
+javac.classpath=\
+    ${file.reference.jcore.jar}:\
+    ${file.reference.jcoreee.jar}:\
+    ${file.reference.jcontacts-core.jar}:\
+    ${file.reference.commons-codec-1.10.jar}:\
+    ${libs.javaee-api-7.0.classpath}
+# Space-separated list of extra javac options
+javac.compilerargs=-Xlint:unchecked -Xlint:deprecation
+javac.deprecation=true
+javac.external.vm=false
+javac.processorpath=\
+    ${javac.classpath}
+javac.source=1.7
+javac.target=1.7
+javac.test.classpath=\
+    ${javac.classpath}:\
+    ${build.classes.dir}
+javac.test.processorpath=\
+    ${javac.test.classpath}
+javadoc.additionalparam=
+javadoc.author=true
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=true
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=true
+javadoc.windowtitle=User Library
+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=
+# 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=
+meta.inf.dir=${src.dir}/META-INF
+mkdist.disabled=true
+platform.active=default_platform
+project.license=gpl30
+run.classpath=\
+    ${javac.classpath}:\
+    ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project.
+# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
+# To set system properties for unit tests define test-sys-prop.name=value:
+run.jvmargs=
+run.test.classpath=\
+    ${javac.test.classpath}:\
+    ${build.test.classes.dir}
+source.encoding=UTF-8
+source.reference.jcontacts-core.jar=../jcontacts-core/src/
+source.reference.jcore.jar=../jcore/src/
+source.reference.jcoreee.jar=../jcoreee/src/
+src.dir=src
+test.src.dir=test
index 02381030cad41dbb28c50e20518552b8f4d98b5c..49cc25e052b8e58d7d4b8b379f7075226a723ea5 100644 (file)
@@ -1,37 +1,37 @@
-/*\r
- * Copyright (C) 2016 Roland Haeder\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
- */\r
-package org.mxchange.jusercore.events.user;\r
-\r
-import java.io.Serializable;\r
-import org.mxchange.jusercore.model.user.User;\r
-\r
-/**\r
- * An interface for events being fired when an administrator added a new user\r
- * account.\r
- * <p>\r
- * @author Roland Haeder<roland@mxchange.org>\r
- */\r
-public interface AdminAddedUserEvent extends Serializable {\r
-\r
-       /**\r
-        * Getter for added user instance\r
-        * <p>\r
-        * @return Added user instance\r
-        */\r
-       User getAddedUser ();\r
-\r
-}\r
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.events.user;
+
+import java.io.Serializable;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * An interface for events being fired when an administrator added a new user
+ * account.
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminAddedUserEvent extends Serializable {
+
+       /**
+        * Getter for added user instance
+        * <p>
+        * @return Added user instance
+        */
+       User getAddedUser ();
+
+}
index e6b035b447462531ab9dea219466496d91658811..8284b7a822a0d168108e2c15babbc5aac2e41b1e 100644 (file)
@@ -1,65 +1,65 @@
-/*\r
- * Copyright (C) 2016 Roland Haeder\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
- */\r
-package org.mxchange.jusercore.events.user;\r
-\r
-import java.text.MessageFormat;\r
-import org.mxchange.jusercore.model.user.User;\r
-\r
-/**\r
- * An event being fired when the administrator has added a new user account\r
- * <p>\r
- * @author Roland Haeder<roland@mxchange.org>\r
- */\r
-public class AdminUserAddedEvent implements AdminAddedUserEvent {\r
-\r
-       /**\r
-        * Serial number\r
-        */\r
-       private static final long serialVersionUID = 14_785_787_174_676_290L;\r
-\r
-       /**\r
-        * Added user instance\r
-        */\r
-       private final User addedUser;\r
-\r
-       /**\r
-        * Constructor with added user instance\r
-        * @param addedUser Added user instance\r
-        */\r
-       public AdminUserAddedEvent (final User addedUser) {\r
-               // Is the user instance valid?\r
-               if (null == addedUser) {\r
-                       // Throw NPE\r
-                       throw new NullPointerException("addedUser is null"); //NOI18N\r
-               } else if (addedUser.getUserId() == null) {\r
-                       // Throw NPE again\r
-                       throw new NullPointerException("addedUser.userId is null"); //NOI18N\r
-               } else if (addedUser.getUserId() < 1) {\r
-                       // Invalid id number\r
-                       throw new IllegalArgumentException(MessageFormat.format("addedUser.userId={0} is invalid.", addedUser.getUserId())); //NOI18N\r
-               }\r
-\r
-               // Set it here\r
-               this.addedUser = addedUser;\r
-       }\r
-\r
-       @Override\r
-       public User getAddedUser () {\r
-               return this.addedUser;\r
-       }\r
-\r
-}\r
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.events.user;
+
+import java.text.MessageFormat;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * An event being fired when the administrator has added a new user account
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminUserAddedEvent implements AdminAddedUserEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 14_785_787_174_676_290L;
+
+       /**
+        * Added user instance
+        */
+       private final User addedUser;
+
+       /**
+        * Constructor with added user instance
+        * @param addedUser Added user instance
+        */
+       public AdminUserAddedEvent (final User addedUser) {
+               // Is the user instance valid?
+               if (null == addedUser) {
+                       // Throw NPE
+                       throw new NullPointerException("addedUser is null"); //NOI18N
+               } else if (addedUser.getUserId() == null) {
+                       // Throw NPE again
+                       throw new NullPointerException("addedUser.userId is null"); //NOI18N
+               } else if (addedUser.getUserId() < 1) {
+                       // Invalid id number
+                       throw new IllegalArgumentException(MessageFormat.format("addedUser.userId={0} is invalid.", addedUser.getUserId())); //NOI18N
+               }
+
+               // Set it here
+               this.addedUser = addedUser;
+       }
+
+       @Override
+       public User getAddedUser () {
+               return this.addedUser;
+       }
+
+}