From: Roland Häder Date: Fri, 22 Jul 2016 09:08:21 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d7cf3b9af21ae9347e5dc61f644973dc801c1e0b;p=jaddressbook-share-lib.git Continued a bit: - removed not used (and really not needed) jars - updated jar(s) --- diff --git a/lib/jaddressbook-core.jar b/lib/jaddressbook-core.jar index 774ba15..fecde66 100644 Binary files a/lib/jaddressbook-core.jar and b/lib/jaddressbook-core.jar differ diff --git a/lib/jcontacts-business-core.jar b/lib/jcontacts-business-core.jar index 0216a11..6a80187 100644 Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ diff --git a/lib/jcore-logger-lib.jar b/lib/jcore-logger-lib.jar deleted file mode 100644 index a2c23a4..0000000 Binary files a/lib/jcore-logger-lib.jar and /dev/null differ diff --git a/lib/jcore-swing.jar b/lib/jcore-swing.jar deleted file mode 100644 index 8e49000..0000000 Binary files a/lib/jcore-swing.jar and /dev/null differ diff --git a/lib/jcore.jar b/lib/jcore.jar deleted file mode 100644 index 881142a..0000000 Binary files a/lib/jcore.jar and /dev/null differ diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar deleted file mode 100644 index d94cb6c..0000000 Binary files a/lib/jcoreee.jar and /dev/null differ diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar deleted file mode 100644 index 0b81d73..0000000 Binary files a/lib/jcountry-core.jar and /dev/null differ diff --git a/lib/jcountry-lib.jar b/lib/jcountry-lib.jar deleted file mode 100644 index 6ef5e61..0000000 Binary files a/lib/jcountry-lib.jar and /dev/null differ diff --git a/lib/jpa20-persistence/javax.persistence_2.1.0.v201304241213.jar b/lib/jpa20-persistence/javax.persistence_2.1.0.v201304241213.jar deleted file mode 100644 index 841d2e1..0000000 Binary files a/lib/jpa20-persistence/javax.persistence_2.1.0.v201304241213.jar and /dev/null differ diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar deleted file mode 100644 index f062c05..0000000 Binary files a/lib/jphone-core.jar and /dev/null differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar deleted file mode 100644 index 79d32b7..0000000 Binary files a/lib/jshop-core.jar and /dev/null differ diff --git a/lib/jshop-ee-lib.jar b/lib/jshop-ee-lib.jar deleted file mode 100644 index 1eaf5c8..0000000 Binary files a/lib/jshop-ee-lib.jar and /dev/null differ diff --git a/nbproject/project.properties b/nbproject/project.properties index a84cc1b..1d1f4cb 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -30,35 +30,20 @@ dist.jar=${dist.dir}/jaddressbook-lib.jar dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= -file.reference.addressbook-core.jar=lib/addressbook-core.jar file.reference.jaddressbook-core.jar=lib/jaddressbook-core.jar file.reference.jcontacts-business-core.jar=lib/jcontacts-business-core.jar file.reference.jcontacts-core.jar=lib/jcontacts-core.jar -file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar -file.reference.jcore.jar=lib/jcore.jar -file.reference.jcoreee.jar=lib/jcoreee.jar -file.reference.jcountry-core.jar=lib/jcountry-core.jar -file.reference.jphone-core.jar=lib/jphone-core.jar file.reference.juser-core.jar=lib/juser-core.jar -file.reference.juser-lib.jar=lib/juser-lib.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.jcore-logger-lib.jar}:\ - ${file.reference.jcountry-core.jar}:\ - ${file.reference.jphone-core.jar}:\ ${file.reference.jcontacts-core.jar}:\ ${file.reference.jcontacts-business-core.jar}:\ ${file.reference.juser-core.jar}:\ - ${file.reference.juser-lib.jar}:\ ${file.reference.jaddressbook-core.jar}:\ - ${file.reference.addressbook-core.jar}:\ - ${libs.javaee-api-7.0.classpath}:\ - ${libs.jpa20-persistence.classpath} + ${libs.javaee-api-7.0.classpath} # Space-separated list of extra javac options javac.compilerargs=-Xlint:unchecked -Xlint:deprecation javac.deprecation=true @@ -108,16 +93,9 @@ run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 -source.reference.addressbook-core.jar=../addressbook-core/src/ source.reference.jaddressbook-core.jar=../jaddressbook-core/src/ source.reference.jcontacts-business-core.jar=../jcontacts-business-core/src/ source.reference.jcontacts-core.jar=../jcontacts-core/src/ -source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/ -source.reference.jcore.jar=../jcore/src -source.reference.jcoreee.jar=../jcoreee/src/ -source.reference.jcountry-core.jar=../jcountry-core/src/ -source.reference.jphone-core.jar=../jphone-core/src/ source.reference.juser-core.jar=../juser-core/src/ -source.reference.juser-lib.jar=../juser-lib/src/ src.dir=src test.src.dir=test diff --git a/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java b/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java index bfc99a4..5b24870 100644 --- a/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java +++ b/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java @@ -61,8 +61,8 @@ public interface AddressbookSessionBeanRemote extends Serializable { *

* @return Address book instance *

- * @throws org.mxchange.jaddressbookcore.exceptions.AddressbookNotFoundException - * If the address book cannot be found by given id number + * @throws AddressbookNotFoundException If the address book cannot be found + * by given id number * @throws NullPointerException If addressbookId is null * @throws IllegalArgumentException If the id number is below 1 */ @@ -95,9 +95,8 @@ public interface AddressbookSessionBeanRemote extends Serializable { *

* @return Updated address book instance *

- * @throws - * org.mxchange.jaddressbookcore.exceptions.AddressbookNameAlreadyUsedException - * If the address book's name has already been used by the user. + * @throws AddressbookNameAlreadyUsedException If the address book's name + * has already been used by the user. */ Addressbook createAddressbook (final Addressbook addressbook) throws AddressbookNameAlreadyUsedException; @@ -118,4 +117,5 @@ public interface AddressbookSessionBeanRemote extends Serializable { * @return Whether the name has already been used by the user */ boolean isAddressbookNameUsed (final Addressbook addressbook); + } diff --git a/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java b/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java index c0e0bc0..56a38fd 100644 --- a/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java +++ b/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java @@ -39,7 +39,7 @@ public interface SharedAddressbooksSessionBeanRemote extends Serializable { *

* @param user User instance to get list of shared address books (shares) * from - * + *

* @return List of shares (= shared address book entries) */ List allSharedAddressbooks (final User user); @@ -50,12 +50,11 @@ public interface SharedAddressbooksSessionBeanRemote extends Serializable { *

* @param sharee User sharee instance * @param addressbook Address book instance - * + *

* @return Updated share instance - * - * @throws - * org.mxchange.addressbook.exceptions.UserAlreadySharingAddressbookException - * When the user is already sharing the address book + *

+ * @throws UserAlreadySharingAddressbookException When the user is already + * sharing the address book */ ShareableAddressbook startSharing (final User sharee, final Addressbook addressbook) throws UserAlreadySharingAddressbookException;