You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/02 23:57:43 UTC
svn commit: r1088150 -
/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
Author: simonetripodi
Date: Sat Apr 2 21:57:43 2011
New Revision: 1088150
URL: http://svn.apache.org/viewvc?rev=1088150&view=rev
Log:
removed trailing spaces
Modified:
commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java?rev=1088150&r1=1088149&r2=1088150&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java (original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/PropertiesHolder.java Sat Apr 2 21:57:43 2011
@@ -23,21 +23,21 @@ import org.apache.commons.discovery.reso
/**
* Holder for a default class.
- *
+ *
* Class may be specified by name (String) or class (Class).
* Using the holder complicates the users job, but minimized # of API's.
- *
+ *
* @author Richard A. Sitze
*/
public class PropertiesHolder {
private Properties properties;
private final String propertiesFileName;
-
+
public PropertiesHolder(Properties properties) {
this.properties = properties;
this.propertiesFileName = null;
}
-
+
public PropertiesHolder(String propertiesFileName) {
this.properties = null;
this.propertiesFileName = propertiesFileName;
@@ -47,7 +47,7 @@ public class PropertiesHolder {
* @param spi Optional SPI (may be null).
* If provided, an attempt is made to load the
* property file as-per Class.getResource().
- *
+ *
* @param loaders Used only if properties need to be loaded.
*
* @return Properties. Load the properties if necessary.