]> git.mxchange.org Git - jfinancials-swing.git/commitdiff
@TODO is not valid, only use TODO
authorRoland Haeder <roland@mxchange.org>
Mon, 31 Aug 2015 07:41:13 +0000 (09:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 31 Aug 2015 07:41:13 +0000 (09:41 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/addressbook/application/AddressbookApplication.java
src/org/mxchange/addressbook/client/BaseAddressbookClient.java
src/org/mxchange/addressbook/client/console/ConsoleClient.java
src/org/mxchange/addressbook/client/gui/AddressbookFrame.java
src/org/mxchange/addressbook/client/gui/SwingClient.java
src/org/mxchange/addressbook/contact/user/UserContact.java
src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java
src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java
src/org/mxchange/addressbook/manager/contact/ManageableAddressbookContact.java
src/org/mxchange/addressbook/menu/Menu.java
src/org/mxchange/addressbook/menu/MenuTools.java

index 4dbd1d0df62f603e392a0ea1e7b7a085a31f66a7..5a11c898d24ee35def0cc6d5fb7346274b3bbb49 100644 (file)
@@ -152,7 +152,7 @@ public class AddressbookApplication extends BaseAddressbookSystem implements App
                // Is the bundle initialized?
                if (!this.isBundledInitialized()) {
                        // Temporary initialize default bundle
-                       // @TODO The enum Gender uses this
+                       // TODO The enum Gender uses this
                        this.initBundle();
                }
        }
@@ -210,7 +210,7 @@ public class AddressbookApplication extends BaseAddressbookSystem implements App
                // Debug message
                this.getLogger().trace("CALLED!"); //NOI18N
 
-               // @TODO The application should be running now
+               // TODO The application should be running now
                // Output introduction
                this.showIntro();
 
index 2f2e2aa286b98a1f52ec6a5dfb1ceecbedc5c628..f14cd81cac9566c3cc7671198e4c13c2b39ffdba 100644 (file)
@@ -117,7 +117,7 @@ public abstract class BaseAddressbookClient extends BaseClient {
                this.getLogger().debug("Initializing contact manager ..."); //NOI18N
                
                // Init contact manager with console client
-               // @TODO Static initial amount of contacts
+               // TODO Static initial amount of contacts
                ManageableDatabase manager = new AddressbookContactManager((Client) this);
                
                // Set it here
@@ -144,7 +144,7 @@ public abstract class BaseAddressbookClient extends BaseClient {
                // Is the menu set?
                if (!(menu instanceof Menu)) {
                        // Not found
-                       // @todo Own exception?
+                       // TODO Own exception?
                        throw new NullPointerException(MessageFormat.format("Menu '{0}' not found.", menuType)); //NOI18N
                }
 
index 92df18acf29968ac36e0904b80dd36b1cdad84a9..0fbb66bbc85f9f5cd8b825fa4ecdf088d0a97dcf 100644 (file)
@@ -120,7 +120,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                // If it is empty/null, then assume private contact
                if ((null == companyName) || (companyName.isEmpty())) {
                        // Now put all together: gender, surname, family name
-                       // @todo Use mask
+                       // TODO Use mask
                        this.outputMessage(MessageFormat.format("Anrede, Vorname, Name: {0} {1} {2}", gender, contact.getFirstName(), contact.getFamilyName()));
                } else {
                        // Company contact
@@ -325,7 +325,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                // Parent call
                super.doShutdown();
 
-               // @TODO Add other shutdown stuff
+               // TODO Add other shutdown stuff
 
                // Trace message
                this.getLogger().trace("EXIT!"); //NOI18N
@@ -347,7 +347,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
 
                // Try it!
                try {
-                       // @TODO Rewrite this ugly switch() block
+                       // TODO Rewrite this ugly switch() block
                        switch (choice) {
                                case '1':
                                        try {
@@ -393,7 +393,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                                break;
 
                                default:
-                                       // @TODO throw own exception
+                                       // TODO throw own exception
                                        throw new UnhandledUserChoiceException(MessageFormat.format("Choice '{0}' not handled yet.", choice)); //NOI18N
                        }
                } catch (final IOException | BadTokenException | CorruptedDatabaseFileException | SQLException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ex) {
@@ -556,7 +556,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
         * @param accessKey Key to access the menu
         * @param text Text to show to user
         * @return A SelectableMenuItem
-        * @todo Make sure the access key is unique
+        * TODO Make sure the access key is unique
         */
        @Override
        public SelectableMenuItem getMenuItem (final char accessKey, final String text) {
@@ -646,7 +646,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                // Get manager and cast it
                ManageableAddressbookContact manager = (ManageableAddressbookContact) this.getManager();
 
-               // @TODO Get rid of this ugly switch block, too
+               // TODO Get rid of this ugly switch block, too
                switch (choice) {
                        case 'n': // Name data
                                manager.doChangeNameData(contact);
@@ -665,7 +665,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                                break;
 
                        default:
-                               // @TODO throw own exception
+                               // TODO throw own exception
                                throw new UnhandledUserChoiceException(MessageFormat.format("Choice '{0}' not handled yet.", choice)); //NOI18N
                }
 
index 89b8df2cdbbf344a1eace574e6d74ab541b5e9a4..c1f98747cdf40337daf47a14d85937afb4935bcf 100644 (file)
@@ -456,7 +456,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra
                 * Add listener which asks for confirmation, if data has been entered
                 * but not saved yet. The user may appriciate this ... ;-)
                 *
-                * @TODO Unfinished
+                * TODO Unfinished
                 */
                this.addContact.addWindowListener(new WindowAdapter() {
                        /**
@@ -679,11 +679,11 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra
                                        ((ManageableAddressbookContact) self.getClient().getManager()).doEnterOwnData();
                                } catch (final ContactAlreadyAddedException ex) {
                                        // Already added, log away
-                                       // @TODO maybe output message here?
+                                       // TODO maybe output message here?
                                        self.logException(ex);
                                } catch (final IOException | BadTokenException ex) {
                                        // Somethind bad happened here
-                                       // @TODO Output error message here?
+                                       // TODO Output error message here?
                                }
                        }
                });
@@ -785,7 +785,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra
         * Initializes "other" data panel
         *
         * @param dialog A JDialog instance to this components to
-        * @todo Fill this with life
+        * TODO Fill this with life
         */
        private void initOtherDataPanel (final JDialog dialog) {
                // Trace message
index 4c7cb13fca8075000f963b73e6a7ec1ab233e79e..afab2fce2c3feb95f44c7cdaf24f3adf1f9684b8 100644 (file)
@@ -119,7 +119,7 @@ public class SwingClient extends BaseAddressbookClient implements AddressbookCli
                // Shutdown frame
                this.frame.doShutdown();
 
-               // @TODO Add other shutdown stuff
+               // TODO Add other shutdown stuff
                // Debug message
                this.getLogger().trace("EXIT!"); //NOI18N
        }
index 0b7af77b228d070e95ab728589acb5fc67f8a7d2..eede361bee7f2bbd0f84fa7859d99acb6474853d 100644 (file)
@@ -24,7 +24,7 @@ import org.mxchange.jcore.contact.Gender;
 /**
  *
  * @author Roland Haeder
- * @todo After a Collection has been used in ContactManager, change to
+ * TODO After a Collection has been used in ContactManager, change to
  * BaseContact
  */
 public class UserContact extends BookContact implements Contact {
@@ -36,7 +36,7 @@ public class UserContact extends BookContact implements Contact {
         * @param firstName First name to be set
         * @param familyName Family name to be set
         * @param companyName Company name
-        * @todo Add validation of data
+        * TODO Add validation of data
         */
        public UserContact (final Gender gender, final String firstName, final String familyName, final String companyName) {
                // Make sure all constructors are called
index 55fa8586b3fa72d2e4c1058d36acdbf386f7ed07..24a0cf8d71fde4ca7c15413b0236f20fca9b64bb 100644 (file)
@@ -117,7 +117,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                        }
 
                        // Then add it
-                       // @todo Nothing is done yet!
+                       // TODO Nothing is done yet!
                        Result<? extends Storable> result = this.doInsertDataSet();
 
                        // Debug message
index 20e7b9c8d49a6c1d5ecd3b78cd68d7562d8207d9..405aa2ece694d3b0dd4bc2f1fbdf5554e03e0045 100644 (file)
@@ -206,7 +206,7 @@ public class AddressbookContactManager extends BaseManager implements Manageable
         * Let the user change other data
         *
         * @param contact Instance to change data
-        * @todo Didn't handle birthday
+        * TODO Didn't handle birthday
         */
        @Override
        public void doChangeOtherData (final Contact contact) {
@@ -669,7 +669,7 @@ public class AddressbookContactManager extends BaseManager implements Manageable
         * Adds given contact to address book and flushes all entries to database
         *
         * @param contact Contact being added
-        * @todo Add check for book size
+        * TODO Add check for book size
         */
        @Override
        public void registerContact (final Contact contact) {
@@ -688,10 +688,10 @@ public class AddressbookContactManager extends BaseManager implements Manageable
                // Check if contact is found
                        if (((AddressbookContactFrontend) this.getFrontend()).isContactFound(contact)) {
                                // Contact already added
-                               // @todo Do something here
+                               // TODO Do something here
                        } else if ((contact.isOwnContact()) && (this.isOwnContactAdded())) {
                                // Own contact already added
-                               // @todo Do something
+                               // TODO Do something
                        }
 
                        // Add contact to internal list
index 6a9bb1e828d73e0b94f2e9303a07268e89f29dbb..ee12842f4e6338c91bc2e7055a6a98175b38609a 100644 (file)
@@ -131,7 +131,7 @@ public interface ManageableAddressbookContact extends ManageableDatabase {
         * Adds given contact to address book
         *
         * @param contact Contact being added
-        * @todo Add check for book size
+        * TODO Add check for book size
         */
        public void registerContact (final Contact contact);
 
index 78a5fb17a42e3efbb8673a100fb5c4446fee20cf..6fe3c6a2c4448b5147826d81b554e8c61ec9481a 100644 (file)
@@ -23,7 +23,7 @@ import org.mxchange.jcore.client.Client;
 /**
  *
  * @author Roland Haeder
- * @todo find better name
+ * TODO find better name
  */
 public interface Menu {
 
index 30d81642e7fee6702ab425bb4a393ec1e90c860d..d5f4695218ef02ae3ff8147958af94e94339109a 100644 (file)
@@ -46,7 +46,7 @@ public class MenuTools extends BaseAddressbookSystem {
                // Is it there?
                if (!(menu instanceof Menu)) {
                        // Not found
-                       // @todo Rewrite to exception
+                       // TODO Rewrite to exception
                        logger.error("Menu '" + menuType + "' not found.");
                        System.exit(1);
                }