summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmusset2009-03-05 12:14:54 (EST)
committerjmusset2009-03-05 12:14:54 (EST)
commit65f65d622a3431f1de031b4cf36ab86327ebf368 (patch)
tree2a54047a3930525178ac6caec44f3fc14d696105
parent11ebc2778fe71e7d33cc63aa00b69adcbdfd078d (diff)
downloadorg.eclipse.acceleo-65f65d622a3431f1de031b4cf36ab86327ebf368.zip
org.eclipse.acceleo-65f65d622a3431f1de031b4cf36ab86327ebf368.tar.gz
org.eclipse.acceleo-65f65d622a3431f1de031b4cf36ab86327ebf368.tar.bz2
format after renaming
-rw-r--r--plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoCommonPlugin.java9
-rw-r--r--plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoServicesRegistry.java18
-rw-r--r--plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/AcceleoServicesEclipseUtil.java13
-rw-r--r--plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoNonStandardLibrary.java3
-rw-r--r--plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoStandardLibrary.java9
5 files changed, 34 insertions, 18 deletions
diff --git a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoCommonPlugin.java b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoCommonPlugin.java
index 1197319..c345647 100644
--- a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoCommonPlugin.java
+++ b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoCommonPlugin.java
@@ -74,7 +74,8 @@ public class AcceleoCommonPlugin extends Plugin {
*/
public static void log(Exception e, boolean blocker) {
if (e == null) {
- throw new NullPointerException(AcceleoCommonMessages.getString("AcceleoCommonPlugin.LogNullException")); //$NON-NLS-1$
+ throw new NullPointerException(AcceleoCommonMessages
+ .getString("AcceleoCommonPlugin.LogNullException")); //$NON-NLS-1$
}
if (getDefault() == null) {
@@ -111,7 +112,8 @@ public class AcceleoCommonPlugin extends Plugin {
// Eclipse platform displays NullPointer on standard error instead of throwing it.
// We'll handle this by throwing it ourselves.
if (status == null) {
- throw new NullPointerException(AcceleoCommonMessages.getString("AcceleoCommonPlugin.LogNullStatus")); //$NON-NLS-1$
+ throw new NullPointerException(AcceleoCommonMessages
+ .getString("AcceleoCommonPlugin.LogNullStatus")); //$NON-NLS-1$
}
if (getDefault() != null) {
@@ -222,7 +224,8 @@ public class AcceleoCommonPlugin extends Plugin {
for (IExtension extension : extensions) {
for (IConfigurationElement service : extension.getConfigurationElements()) {
try {
- AcceleoServicesEclipseUtil.addService(service.createExecutableExtension(CLASS_TAG_NAME));
+ AcceleoServicesEclipseUtil.addService(service
+ .createExecutableExtension(CLASS_TAG_NAME));
} catch (CoreException e) {
log(e, false);
}
diff --git a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoServicesRegistry.java b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoServicesRegistry.java
index 0648a94..7d51f04 100644
--- a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoServicesRegistry.java
+++ b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/AcceleoServicesRegistry.java
@@ -49,13 +49,19 @@ public final class AcceleoServicesRegistry {
try {
registeredServices.add(((Class<?>)service).newInstance());
} catch (InstantiationException e) {
- AcceleoCommonPlugin.log(AcceleoCommonMessages.getString(
- "AcceleoServicesRegistry.ServiceInstantiationFailure", ((Class<?>)service).getName(), e //$NON-NLS-1$
- .getMessage()), false);
+ AcceleoCommonPlugin
+ .log(
+ AcceleoCommonMessages
+ .getString(
+ "AcceleoServicesRegistry.ServiceInstantiationFailure", ((Class<?>)service).getName(), e //$NON-NLS-1$
+ .getMessage()), false);
} catch (IllegalAccessException e) {
- AcceleoCommonPlugin.log(AcceleoCommonMessages.getString(
- "AcceleoServicesRegistry.ServiceInstantiationFailure", ((Class<?>)service).getName(), e //$NON-NLS-1$
- .getMessage()), false);
+ AcceleoCommonPlugin
+ .log(
+ AcceleoCommonMessages
+ .getString(
+ "AcceleoServicesRegistry.ServiceInstantiationFailure", ((Class<?>)service).getName(), e //$NON-NLS-1$
+ .getMessage()), false);
}
}
return registeredServices.add(service);
diff --git a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/AcceleoServicesEclipseUtil.java b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/AcceleoServicesEclipseUtil.java
index 7d695ed..d5dc934 100644
--- a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/AcceleoServicesEclipseUtil.java
+++ b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/AcceleoServicesEclipseUtil.java
@@ -38,8 +38,8 @@ import org.osgi.framework.ServiceReference;
import org.osgi.service.packageadmin.PackageAdmin;
/**
- * Eclipse-specific utilities for Acceleo services. It will be initialized with all services that could be parsed
- * from the extension point if Eclipse is running and won't be used when outside of Eclipse.
+ * Eclipse-specific utilities for Acceleo services. It will be initialized with all services that could be
+ * parsed from the extension point if Eclipse is running and won't be used when outside of Eclipse.
*
* @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
*/
@@ -236,9 +236,12 @@ public final class AcceleoServicesEclipseUtil {
jobManager.removeJobChangeListener(listener);
}
} catch (BundleException e) {
- AcceleoCommonPlugin.log(AcceleoCommonMessages.getString(
- "AcceleoServicesEclipseUtil.installationFailure", candidate.getBundleDescription() //$NON-NLS-1$
- .getName(), e.getMessage()), false);
+ AcceleoCommonPlugin
+ .log(
+ AcceleoCommonMessages
+ .getString(
+ "AcceleoServicesEclipseUtil.installationFailure", candidate.getBundleDescription() //$NON-NLS-1$
+ .getName(), e.getMessage()), false);
AcceleoCommonPlugin.log(e, false);
} catch (MalformedURLException e) {
AcceleoCommonPlugin.log(e, false);
diff --git a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoNonStandardLibrary.java b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoNonStandardLibrary.java
index 8a9e69d..62a88a1 100644
--- a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoNonStandardLibrary.java
+++ b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoNonStandardLibrary.java
@@ -176,7 +176,8 @@ public final class AcceleoNonStandardLibrary {
stringType = (EClass)nonStdLibPackage.getEClassifier(PRIMITIVE_STRING_NAME);
oclAnyType = (EClass)nonStdLibPackage.getEClassifier(TYPE_OCLANY_NAME);
} catch (IOException e) {
- AcceleoCommonPlugin.log(AcceleoCommonMessages.getString("AcceleoNonStandardLibrary.LoadFailure"), false); //$NON-NLS-1$
+ AcceleoCommonPlugin.log(
+ AcceleoCommonMessages.getString("AcceleoNonStandardLibrary.LoadFailure"), false); //$NON-NLS-1$
}
}
diff --git a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoStandardLibrary.java b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoStandardLibrary.java
index e98bf82..2c7ecd3 100644
--- a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoStandardLibrary.java
+++ b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/utils/AcceleoStandardLibrary.java
@@ -36,7 +36,8 @@ public final class AcceleoStandardLibrary {
* <b>toString( Integer i ) : String</b><br/> Converts the integer i to a string.
* </p>
* <p>
- * <b>Note</b> that this has been replaced by the {@link AcceleoNonStandardLibrary#OPERATION_OCLANY_TOSTRING}.
+ * <b>Note</b> that this has been replaced by the
+ * {@link AcceleoNonStandardLibrary#OPERATION_OCLANY_TOSTRING}.
* </p>
*/
public static final String OPERATION_INTEGER_TOSTRING = "toString"; //$NON-NLS-1$
@@ -47,7 +48,8 @@ public final class AcceleoStandardLibrary {
* <b>toString( Real r ) : String</b><br/> Converts the real r to a string.
* </p>
* <p>
- * <b>Note</b> that this has been replaced by the {@link AcceleoNonStandardLibrary#OPERATION_OCLANY_TOSTRING}.
+ * <b>Note</b> that this has been replaced by the
+ * {@link AcceleoNonStandardLibrary#OPERATION_OCLANY_TOSTRING}.
* </p>
*/
public static final String OPERATION_REAL_TOSTRING = "toString"; //$NON-NLS-1$
@@ -189,7 +191,8 @@ public final class AcceleoStandardLibrary {
integerType = (EClass)stdLibPackage.getEClassifier(PRIMITIVE_INTEGER_NAME);
realType = (EClass)stdLibPackage.getEClassifier(PRIMITIVE_REAL_NAME);
} catch (IOException e) {
- AcceleoCommonPlugin.log(AcceleoCommonMessages.getString("AcceleoStandardLibrary.LoadFailure"), false); //$NON-NLS-1$
+ AcceleoCommonPlugin.log(
+ AcceleoCommonMessages.getString("AcceleoStandardLibrary.LoadFailure"), false); //$NON-NLS-1$
}
}