perfsonar-dev - Re: [pS-dev] r1577 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType
Subject: perfsonar development work
List archive
Re: [pS-dev] r1577 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType
Chronological Thread
- From: "Jeff W. Boote" <>
- To: Roman Lapacz <>
- Cc:
- Subject: Re: [pS-dev] r1577 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType
- Date: Tue, 29 Aug 2006 10:19:25 -0600
Why was this change made?
Please, please, please use the Log messages. The Log should indicate 'why' a change is being made.
With reasonable Log messages we can generate change-log files for each release that indicates changes from the previous release.
Otherwise, you will be recruited to write the change-log file.
jeff
wrote:
Author: roman
Date: 2006-08-29 09:27:42 -0400 (Tue, 29 Aug 2006)
New Revision: 1577
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
Log:
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
2006-08-29 09:23:40 UTC (rev 1576)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
2006-08-29 13:27:42 UTC (rev 1577)
@@ -425,6 +425,12 @@
if (metadata.getKey() != null) {
Key k = metadata.getKey();
+ Key key2 = new Key();
+
+ Parameter[] params = k.getParameters().getParameterArray();
+ for (int i = 0; i < params.length; i++)
+ key2.addParameter(params[i]);
+
if (data == null) {
data = new Data();
@@ -433,7 +439,7 @@
// this new metadata is created to not corrupt
// already existed id
Metadata metadata2 = new Metadata();
- metadata2.setKey(k);
+ metadata2.setKey(key2);
//long seed = (new Date()).getTime();
//int intId = (new Random(seed)).nextInt();
@@ -446,7 +452,7 @@
}
- data.addChild(k);
+ data.addChild(key2);
}
- r1577 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType, svnlog, 08/29/2006
- Re: [pS-dev] r1577 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType, Jeff W. Boote, 08/29/2006
Archive powered by MHonArc 2.6.16.