polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [40/50] [abbrv] zest-qi4j git commit: Removal of warnings.
Date Fri, 17 Apr 2015 16:08:52 GMT
Removal of warnings.


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/90f612e4
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/90f612e4
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/90f612e4

Branch: refs/heads/3.0
Commit: 90f612e44ced7f8f6ab0341e0184ad0cf4ae67c8
Parents: aee712a
Author: Niclas Hedhman <niclas@hedhman.org>
Authored: Sat Oct 4 14:17:59 2014 +0800
Committer: Niclas Hedhman <niclas@hedhman.org>
Committed: Sat Oct 4 14:17:59 2014 +0800

----------------------------------------------------------------------
 core/api/src/main/java/org/qi4j/api/common/QualifiedName.java | 2 ++
 core/api/src/main/java/org/qi4j/api/common/TypeName.java      | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/90f612e4/core/api/src/main/java/org/qi4j/api/common/QualifiedName.java
----------------------------------------------------------------------
diff --git a/core/api/src/main/java/org/qi4j/api/common/QualifiedName.java b/core/api/src/main/java/org/qi4j/api/common/QualifiedName.java
index cb66205..6fed8d9 100644
--- a/core/api/src/main/java/org/qi4j/api/common/QualifiedName.java
+++ b/core/api/src/main/java/org/qi4j/api/common/QualifiedName.java
@@ -98,6 +98,7 @@ public final class QualifiedName
      *
      * @throws NullArgumentException if any of the two arguments are {@code null} or either
string is empty.
      */
+    @SuppressWarnings( "UnusedDeclaration" )
     public static QualifiedName fromName( String type, String name )
     {
         return new QualifiedName( TypeName.nameOf( type ), name );
@@ -240,6 +241,7 @@ public final class QualifiedName
     }
 
     @Override
+    @SuppressWarnings( "NullableProblems" )
     public int compareTo( QualifiedName other )
     {
         final int result = typeName.compareTo( other.typeName );

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/90f612e4/core/api/src/main/java/org/qi4j/api/common/TypeName.java
----------------------------------------------------------------------
diff --git a/core/api/src/main/java/org/qi4j/api/common/TypeName.java b/core/api/src/main/java/org/qi4j/api/common/TypeName.java
index c351b8a..b47a95c 100644
--- a/core/api/src/main/java/org/qi4j/api/common/TypeName.java
+++ b/core/api/src/main/java/org/qi4j/api/common/TypeName.java
@@ -56,6 +56,7 @@ public final class TypeName
         return name;
     }
 
+    @SuppressWarnings( "UnusedDeclaration" )
     public boolean isClass( final Class<?> type )
     {
         return type.getName().equals( name );
@@ -85,6 +86,7 @@ public final class TypeName
     }
 
     @Override
+    @SuppressWarnings( "NullableProblems" )
     public int compareTo( final TypeName typeName )
     {
         return this.name.compareTo( typeName.name );


Mime
View raw message