Subversion Repository Public Repository

litesoft

Diff Revisions 24 vs 48 for /trunk/Java/core/Server/src/org/litesoft/configuration/ConfigAccessorFactoryProperties.java

Diff revisions: vs.
  @@ -75,11 +75,11 @@
75 75 public void setKeyValue( Level pLevel, String pKey, String pValue )
76 76 throws UnsupportedOperationException
77 77 {
78 + pKey = Utils.assertNotNullNotEmpty( "Key", pKey );
78 79 if ( !Level.RUN.equals( Utils.deNull( pLevel, Level.RUN ) ) )
79 80 {
80 81 throw new UnsupportedOperationException( "setKeyValue for Level '" + pLevel + "' not supported" );
81 82 }
82 - pKey = Utils.assertNotNullNotEmpty( "Key", pKey );
83 83 if ( pValue == null )
84 84 {
85 85 mProperties.remove( pKey );