perfsonar-dev - r2005 - branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters
Subject: perfsonar development work
List archive
r2005 - branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters
Chronological Thread
- From:
- To:
- Subject: r2005 - branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters
- Date: Tue, 30 Jan 2007 10:29:16 -0500
Author: melis
Date: 2007-01-30 10:29:15 -0500 (Tue, 30 Jan 2007)
New Revision: 2005
Modified:
branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters/ServicePropertiesConfigurator.java
Log:
Fixed a small bug in the ServicePropertiesConfigurator.java
Modified:
branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters/ServicePropertiesConfigurator.java
===================================================================
---
branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters/ServicePropertiesConfigurator.java
2007-01-30 15:15:45 UTC (rev 2004)
+++
branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters/ServicePropertiesConfigurator.java
2007-01-30 15:29:15 UTC (rev 2005)
@@ -72,7 +72,7 @@
String input = "";
while (!input.equalsIgnoreCase("STOP")) {
input = br.readLine();
- if (!input.equalsIgnoreCase("STOP"))
+ if (input != null &&
!input.equals("") && !input.equalsIgnoreCase("STOP"))
devices.add(input);
}
@@ -261,7 +261,6 @@
.println("Please give the password for device: "
+ device + ": ");
input = br.readLine();
- System.out.println("password
given: " + input);
while (input == null ||
input.equals("")){
System.out
.println("You
have to provide a password. " +
@@ -362,10 +361,10 @@
first = false;
if (!input.equalsIgnoreCase("yes")) {
- System.out.println("Enter now
the commands!");
+ System.out.println("Enter the
commands!");
while
(!input.equalsIgnoreCase("STOP")) {
input = br.readLine();
- if
(!input.equalsIgnoreCase("STOP"))
+ if (input != null &&
!input.equals("") && !input.equalsIgnoreCase("STOP"))
commands.add(input);
}
- r2005 - branches/SSHTelnet-MP-STABLE/src/org/perfsonar/service/measurementPoint/lookingGlassType/engine/adapters, svnlog, 01/30/2007
Archive powered by MHonArc 2.6.16.