Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5857 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/fetch

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/ps-java-services] r5857 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/fetch


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5857 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/fetch
  • Date: Wed, 5 Oct 2011 14:39:02 +0100 (BST)

Author: psnc.pikusa
Date: 2011-10-05 14:39:02 +0100 (Wed, 05 Oct 2011)
New Revision: 5857

Modified:

trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/fetch/ResponseGenerator.java
Log:
Constructor added for test purposes. It is implemented because when unitTest
run it cannot get logger from main constructor and fails when unit tests are
run

Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/fetch/ResponseGenerator.java
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/fetch/ResponseGenerator.java
2011-10-05 13:37:50 UTC (rev 5856)
+++
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/fetch/ResponseGenerator.java
2011-10-05 13:39:02 UTC (rev 5857)
@@ -37,7 +37,7 @@


public ResponseGenerator() throws PerfSONARException {
-
+
try {

logger = (LoggerComponent)
@@ -55,6 +55,14 @@
}

}
+
+ /**
+ * Contstructor only for test purposes. It is implemented because
when unitTest run it cannot get loggger from main constructor
+ * @param t
+ */
+ public ResponseGenerator(String t){
+
+ }






  • [pS-dev] [GEANT/SA2/ps-java-services] r5857 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/fetch, svn-noreply, 10/05/2011

Archive powered by MHonArc 2.6.16.

Top of Page