You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/05/04 16:28:28 UTC
svn commit: r771316 -
/maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo
Author: bentmann
Date: Mon May 4 14:28:27 2009
New Revision: 771316
URL: http://svn.apache.org/viewvc?rev=771316&view=rev
Log:
o Restored original default value for enabled flag of repository
Modified:
maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo
Modified: maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo?rev=771316&r1=771315&r2=771316&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo (original)
+++ maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo Mon May 4 14:28:27 2009
@@ -2160,12 +2160,12 @@
public boolean isFiltering()
{
- return filteringValue != null ? (new Boolean(filteringValue)).booleanValue() : false;
+ return ( filteringValue != null ) ? Boolean.parseBoolean( filteringValue ) : false;
}
public void setFiltering( boolean filtering )
{
- filteringValue = String.valueOf(filtering);
+ filteringValue = String.valueOf( filtering );
}
/**
@@ -2496,12 +2496,12 @@
public boolean isEnabled()
{
- return enabledValue != null ? (new Boolean(enabledValue)).booleanValue() : false;
+ return ( enabledValue != null ) ? Boolean.parseBoolean( enabledValue ) : true;
}
public void setEnabled( boolean enabled )
{
- enabledValue = String.valueOf(enabled);
+ enabledValue = String.valueOf( enabled );
}
]]>