gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-schemafuzz] branch master updated: Fixed some crashe


From: gnunet
Subject: [GNUnet-SVN] [taler-schemafuzz] branch master updated: Fixed some crashes. working on the rest
Date: Sun, 03 Jun 2018 12:50:44 +0200

This is an automated email from the git hooks/post-receive script.

erwan-ulrich pushed a commit to branch master
in repository schemafuzz.

The following commit(s) were added to refs/heads/master by this push:
     new 5bced49  Fixed some crashes. working on the rest
5bced49 is described below

commit 5bced49df755b66ea27af818139dbd206cd74cde
Author: Feideus <address@hidden>
AuthorDate: Sun Jun 3 12:50:40 2018 +0200

    Fixed some crashes. working on the rest
---
 src/main/java/org/schemaspy/model/GenericTreeNode.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/schemaspy/model/GenericTreeNode.java 
b/src/main/java/org/schemaspy/model/GenericTreeNode.java
index 6e846b8..46b039b 100644
--- a/src/main/java/org/schemaspy/model/GenericTreeNode.java
+++ b/src/main/java/org/schemaspy/model/GenericTreeNode.java
@@ -44,6 +44,7 @@ public class GenericTreeNode {
         this.id = id;
         this.isFirstApperance = true;
         this.initial_state_row = initial_state_row;
+        this.potential_changes = new ArrayList<>();
         this.potential_changes = discoverMutationPossibilities(this);
     }
 
@@ -69,6 +70,7 @@ public class GenericTreeNode {
         initDepth();
         this.isFirstApperance = isFirstApperance;
         this.initial_state_row = initial_state_row;
+        this.potential_changes = new ArrayList<>();
         this.potential_changes = discoverMutationPossibilities(rootMutation);
     }
 
@@ -277,6 +279,7 @@ public class GenericTreeNode {
             case "character":
             case "character varying":
             case "varchar":
+
                     char tmp2 = (char) 
rootForThisMutation.getInitial_state_row().getContent().get(tableColumn.getName()).toString().charAt(0);
                     char nextChar = (char) (tmp2 + 1);
                     char prevChar = (char) (tmp2 - 1);
@@ -325,7 +328,7 @@ public class GenericTreeNode {
               case 12: typeName = "December";
                        break;*/
             default:
-                System.out.println("Unsupported dataType");
+                System.out.println("Unsupported dataType = "+typeName);
         }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]