Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix default constructor

  • Loading branch information...
commit 016c79c33c0f0c333816a99c19b7d9c176c4dd9f 2 parents e855600 + 7ac5c86
@grze grze authored
View
7 clc/modules/msgs/src/main/java/com/eucalyptus/component/Faults.java
@@ -167,7 +167,10 @@ public boolean apply( final Throwable input ) {
@Transient
private CheckException other;
- private CheckException( ) {}
+ @SuppressWarnings( "unused" )
+ public CheckException( ) {
+ this( null );
+ }
private CheckException( final String serviceName ) {
this.serviceName = serviceName;
@@ -496,7 +499,7 @@ public CheckException apply( final ServiceStatusType input ) {
LOG.error( "Failed to lookup error information for: " + config.getFullName( ), ex );
db.rollback( );
}
- return null;
+ return Lists.newArrayList( );
}
public static void persist( final CheckException errors ) {
Please sign in to comment.
Something went wrong with that request. Please try again.