perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6045 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/dao
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r6045 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/dao
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6045 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/dao
- Date: Wed, 28 Nov 2012 15:00:03 +0000 (GMT)
Author: nordunet.behrmann
Date: 2012-11-28 15:00:03 +0000 (Wed, 28 Nov 2012)
New Revision: 6045
Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/dao/OwampDao.java
Log:
perfsonar-java-sql-ma: Fixed two checkstyle violations
Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/dao/OwampDao.java
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/dao/OwampDao.java
2012-11-28 10:13:12 UTC (rev 6044)
+++
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/dao/OwampDao.java
2012-11-28 15:00:03 UTC (rev 6045)
@@ -101,6 +101,8 @@
+ ":lostPercent, :duplicates, :minDelay,
:medDelay, :maxDelay, :delayUnits, :error, "
+ ":errorUnits, :jitter, :jitterUnits, :hops)",
parameters);
break;
+ default:
+ throw new RuntimeException("Unreachable statement");
}
}
@@ -133,8 +135,9 @@
+ "FROM owamp "
+ "WHERE metadataId = :metadataId",
new DataResultSetExtractor());
+ default:
+ throw new RuntimeException("Unreachable statement");
}
- throw new RuntimeException("Unreachable statement");
}
private static class DataResultSetExtractor extends
AbstractDataResultSetExtractor
- [pS-dev] [GEANT/SA2/ps-java-services] r6045 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType/dao, svn-noreply, 11/28/2012
Archive powered by MHonArc 2.6.16.