directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720822 - /directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/DependenciesComputer.java
Date Wed, 26 Nov 2008 12:01:02 GMT
Author: felixk
Date: Wed Nov 26 04:00:59 2008
New Revision: 720822

URL: http://svn.apache.org/viewvc?rev=720822&view=rev
Log:
Formatting

Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/DependenciesComputer.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/DependenciesComputer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/DependenciesComputer.java?rev=720822&r1=720821&r2=720822&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/DependenciesComputer.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/DependenciesComputer.java
Wed Nov 26 04:00:59 2008
@@ -129,7 +129,8 @@
             AttributeTypeImpl superiorAT = schemaHandler.getAttributeType( superior );
             if ( superiorAT == null )
             {
-                throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.SuperiorAttribute"),
new String[]{superior}) ); //$NON-NLS-1$
+                throw new DependencyComputerException( NLS.bind( Messages
+                    .getString( "DependenciesComputer.SuperiorAttribute" ), new String[]
{ superior } ) ); //$NON-NLS-1$
             }
             else
             {
@@ -148,7 +149,8 @@
             SyntaxImpl syntax = schemaHandler.getSyntax( syntaxOID );
             if ( syntax == null )
             {
-                throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.SyntaxOID"),
new String[]{syntaxOID}) ); //$NON-NLS-1$
+                throw new DependencyComputerException( NLS.bind(
+                    Messages.getString( "DependenciesComputer.SyntaxOID" ), new String[]
{ syntaxOID } ) ); //$NON-NLS-1$
             }
             else
             {
@@ -167,7 +169,8 @@
             MatchingRuleImpl equalityMatchingRule = schemaHandler.getMatchingRule( equalityName
);
             if ( equalityMatchingRule == null )
             {
-                throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.Equality"),
new String[]{ equalityName}) ); //$NON-NLS-1$
+                throw new DependencyComputerException( NLS.bind(
+                    Messages.getString( "DependenciesComputer.Equality" ), new String[] {
equalityName } ) ); //$NON-NLS-1$
             }
             else
             {
@@ -186,7 +189,8 @@
             MatchingRuleImpl orderingMatchingRule = schemaHandler.getMatchingRule( orderingName
);
             if ( orderingMatchingRule == null )
             {
-                throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.Ordering"),
new String[]{ orderingName}) ); //$NON-NLS-1$
+                throw new DependencyComputerException( NLS.bind(
+                    Messages.getString( "DependenciesComputer.Ordering" ), new String[] {
orderingName } ) ); //$NON-NLS-1$
             }
             else
             {
@@ -205,7 +209,8 @@
             MatchingRuleImpl substringMatchingRule = schemaHandler.getMatchingRule( substringName
);
             if ( substringMatchingRule == null )
             {
-                throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.Substring"),new
String[]{substringName}) ); //$NON-NLS-1$
+                throw new DependencyComputerException( NLS.bind(
+                    Messages.getString( "DependenciesComputer.Substring" ), new String[]
{ substringName } ) ); //$NON-NLS-1$
             }
             else
             {
@@ -239,7 +244,8 @@
                 ObjectClassImpl superObjectClass = schemaHandler.getObjectClass( superClassName
);
                 if ( superObjectClass == null )
                 {
-                    throw new DependencyComputerException(NLS.bind( Messages.getString("DependenciesComputer.SuperiorObject"),new
String[]{ superClassName}) ); //$NON-NLS-1$
+                    throw new DependencyComputerException( NLS.bind( Messages
+                        .getString( "DependenciesComputer.SuperiorObject" ), new String[]
{ superClassName } ) ); //$NON-NLS-1$
                 }
                 else
                 {
@@ -261,7 +267,8 @@
                 AttributeTypeImpl optionalAttributeType = schemaHandler.getAttributeType(
optionalAttributeTypeName );
                 if ( optionalAttributeType == null )
                 {
-                    throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.Optional"),
new Object[]{ optionalAttributeType}) ); //$NON-NLS-1$
+                    throw new DependencyComputerException( NLS.bind( Messages
+                        .getString( "DependenciesComputer.Optional" ), new Object[] { optionalAttributeType
} ) ); //$NON-NLS-1$
                 }
                 else
                 {
@@ -283,8 +290,9 @@
                 AttributeTypeImpl mandatoryAttributeType = schemaHandler.getAttributeType(
mandatoryAttributeTypeName );
                 if ( mandatoryAttributeType == null )
                 {
-                    throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.Mandatory"),

-                        new String[]{ mandatoryAttributeTypeName}) ); //$NON-NLS-1$
+                    throw new DependencyComputerException( NLS.bind( Messages
+                        .getString( "DependenciesComputer.Mandatory" ), new String[]
+                        { mandatoryAttributeTypeName } ) ); //$NON-NLS-1$
                 }
                 else
                 {
@@ -316,7 +324,8 @@
             Schema schemaFromSuperiorAT = schemaHandler.getSchema( schemaName );
             if ( schemaFromSuperiorAT == null )
             {
-                throw new DependencyComputerException( NLS.bind( Messages.getString("DependenciesComputer.Schema"),
new String[]{ schemaName }) ); //$NON-NLS-1$ //$NON-NLS-2$
+                throw new DependencyComputerException( NLS.bind(
+                    Messages.getString( "DependenciesComputer.Schema" ), new String[] { schemaName
} ) ); //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {



Mime
View raw message