Subversion Repository Public Repository

litesoft

Diff Revisions 150 vs 151 for /trunk/Java/core/Server/src/org/litesoft/orsup/nonpublic/MetaDataRegistry.java

Diff revisions: vs.
  @@ -1,12 +1,12 @@
1 1 // This Source Code is in the Public Domain per: http://litesoft.org/License.txt
2 2 package org.litesoft.orsup.nonpublic;
3 3
4 + import java.util.*;
5 +
4 6 import org.litesoft.core.simpletypes.nonpublic.*;
5 7 import org.litesoft.orsup.base.*;
6 8 import org.litesoft.orsup.otherattributeaccessors.*;
7 9
8 - import java.util.*;
9 -
10 10 public class MetaDataRegistry implements MetaDataStore
11 11 {
12 12 private Map<String, MetaDataForPO> mMetaDataByPOtablename = new HashMap<String, MetaDataForPO>();
  @@ -75,8 +75,7 @@
75 75 String zRegistrationName = pMetaDataForPO.getPOregistrationName();
76 76 if ( zRegistrationName.equals( Parts4Blobs.MyMetaData.INSTANCE.getPOregistrationName() ) )
77 77 {
78 - throw new IllegalArgumentException(
79 - "Underlying Blob support PO (Parts4Blobs) Automatically added" );
78 + throw new IllegalArgumentException( "Underlying Blob support PO (Parts4Blobs) Automatically added" );
80 79 }
81 80 addNonNull( pMetaDataForPO );
82 81 if ( !mBlobSupportAdded )
  @@ -124,13 +123,11 @@
124 123 }
125 124 if ( mMetaDataByPOregistrationname.containsKey( zRegistrationName ) )
126 125 {
127 - throw new IllegalArgumentException(
128 - "Duplicate Persistable PO Registration Name " + zRegistrationName );
126 + throw new IllegalArgumentException( "Duplicate Persistable PO Registration Name " + zRegistrationName );
129 127 }
130 128 if ( mMetaDataByPOidentifierName.containsKey( zRegistrationName ) )
131 129 {
132 - throw new IllegalArgumentException(
133 - "Duplicate Persistable PO Identifier Name " + zRegistrationName );
130 + throw new IllegalArgumentException( "Duplicate Persistable PO Identifier Name " + zRegistrationName );
134 131 }
135 132 pMetaDataForPO.LLset( this );
136 133 mMetaDataByPOtablename.put( zTableName, pMetaDataForPO );