Author: marrs
Date: Mon Oct 6 15:32:35 2014
New Revision: 1629679
URL: http://svn.apache.org/r1629679
Log:
Fixed some typos and formatting.
Modified:
ace/trunk/org.apache.ace.agent.launcher/src/org/apache/ace/agent/launcher/Launcher.java
Modified:
ace/trunk/org.apache.ace.agent.launcher/src/org/apache/ace/agent/launcher/Launcher.java
URL:
http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.launcher/src/org/apache/ace/agent/launcher/Launcher.java?rev=1629679&r1=1629678&r2=1629679&view=diff
==============================================================================
---
ace/trunk/org.apache.ace.agent.launcher/src/org/apache/ace/agent/launcher/Launcher.java
(original)
+++
ace/trunk/org.apache.ace.agent.launcher/src/org/apache/ace/agent/launcher/Launcher.java
Mon Oct 6 15:32:35 2014
@@ -81,11 +81,11 @@ public class Launcher implements Propert
public Map<String, String> parseArgs(String... args) throws Exception {
Options options = new Options();
- addOption( options, 'a', "agent", "ID", "the agent ID to use" );
- addOption( options, 's', "serverurl", "URLs", "the Apache ACE server
URL(s) to use" );
- addOption( options, 'v', "verbose", "enable verbose logging" );
- addOption( options, 'c', "config", "FILE", "use configuration file" );
- addOption( options, 'h', "help", "prints this message" );
+ addOption(options, 'a', "agent", "ID", "the agent ID to use");
+ addOption(options, 's', "serverurl", "URLs", "the Apache ACE server
URL(s) to use");
+ addOption(options, 'v', "verbose", "enable verbose logging");
+ addOption(options, 'c', "config", "FILE", "use configuration file");
+ addOption(options, 'h', "help", "prints this message");
// Start from scratch...
Map<String, String> config = new HashMap<String, String>();
@@ -246,18 +246,17 @@ public class Launcher implements Propert
private BundleProvider[] loadBundleProviders() throws Exception {
ServiceLoader<BundleProvider> bundleFactoryLoader =
ServiceLoader.load(BundleProvider.class);
Iterator<BundleProvider> bundleFactoryIterator =
bundleFactoryLoader.iterator();
- List<BundleProvider> bundelFactoryList = new
ArrayList<BundleProvider>();
+ List<BundleProvider> bundleFactoryList = new
ArrayList<BundleProvider>();
while (bundleFactoryIterator.hasNext()) {
- bundelFactoryList.add(bundleFactoryIterator.next());
+ bundleFactoryList.add(bundleFactoryIterator.next());
}
- return bundelFactoryList.toArray(new
BundleProvider[bundelFactoryList.size()]);
+ return bundleFactoryList.toArray(new
BundleProvider[bundleFactoryList.size()]);
}
private Properties loadDefaultProperties() throws IOException {
InputStream inStream = null;
try {
inStream =
getClass().getResourceAsStream("launcher-defaults.properties");
-
Properties properties = new Properties();
properties.load(inStream);
return properties;