diff options
Diffstat (limited to 'plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java')
-rw-r--r-- | plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java index aaf1e9edde..e58356583b 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java @@ -43,8 +43,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory { try { - BusinessFactory theBusinessFactory = (BusinessFactory)EPackage.Registry.INSTANCE - .getEFactory("http://www.gastro.org/business/1.0"); + BusinessFactory theBusinessFactory = (BusinessFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.gastro.org/business/1.0"); if (theBusinessFactory != null) { return theBusinessFactory; @@ -170,8 +169,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory OrderState result = OrderState.get(initialValue); if (result == null) { - throw new IllegalArgumentException( - "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); } return result; } |