oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfos...@apache.org
Subject svn commit: r1128490 - in /oodt/branches/cas-protocol-api/src: main/java/org/apache/oodt/cas/protocol/system/ProtocolManager.java test/org/apache/oodt/cas/protocol/system/TestProtocolManager.java
Date Fri, 27 May 2011 22:28:12 GMT
Author: bfoster
Date: Fri May 27 22:28:11 2011
New Revision: 1128490

URL: http://svn.apache.org/viewvc?rev=1128490&view=rev
Log:

- cleanup

-------------

OODT-194

Modified:
    oodt/branches/cas-protocol-api/src/main/java/org/apache/oodt/cas/protocol/system/ProtocolManager.java
    oodt/branches/cas-protocol-api/src/test/org/apache/oodt/cas/protocol/system/TestProtocolManager.java

Modified: oodt/branches/cas-protocol-api/src/main/java/org/apache/oodt/cas/protocol/system/ProtocolManager.java
URL: http://svn.apache.org/viewvc/oodt/branches/cas-protocol-api/src/main/java/org/apache/oodt/cas/protocol/system/ProtocolManager.java?rev=1128490&r1=1128489&r2=1128490&view=diff
==============================================================================
--- oodt/branches/cas-protocol-api/src/main/java/org/apache/oodt/cas/protocol/system/ProtocolManager.java
(original)
+++ oodt/branches/cas-protocol-api/src/main/java/org/apache/oodt/cas/protocol/system/ProtocolManager.java
Fri May 27 22:28:11 2011
@@ -54,7 +54,6 @@ public class ProtocolManager {
     	if (verifiedMap.containsKey(site)) {
     		return verifiedMap.get(site).newInstance();
     	} else {
-    		System.out.println(protocolConfig);
     		for (ProtocolFactory factory : protocolConfig.getFactoriesBySite(site)) {
     			try {
     				Protocol protocol = factory.newInstance();

Modified: oodt/branches/cas-protocol-api/src/test/org/apache/oodt/cas/protocol/system/TestProtocolManager.java
URL: http://svn.apache.org/viewvc/oodt/branches/cas-protocol-api/src/test/org/apache/oodt/cas/protocol/system/TestProtocolManager.java?rev=1128490&r1=1128489&r2=1128490&view=diff
==============================================================================
--- oodt/branches/cas-protocol-api/src/test/org/apache/oodt/cas/protocol/system/TestProtocolManager.java
(original)
+++ oodt/branches/cas-protocol-api/src/test/org/apache/oodt/cas/protocol/system/TestProtocolManager.java
Fri May 27 22:28:11 2011
@@ -68,6 +68,7 @@ public class TestProtocolManager extends
 				}
 			}
 		});
+		assertNotNull(protocol);
 		assertTrue(protocol instanceof MockProtocol);
 		mockProtocol = (MockProtocol) protocol;
 		assertEquals("ftp1", mockProtocol.getFactoryId());



Mime
View raw message