aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorttsanton2014-02-07 16:20:20 (EST)
committerSamuel Padgett2014-02-18 11:39:04 (EST)
commit8ad7840fcb8d15f5700cf26a2c12d7ee5ab082d9 (patch)
tree7c7f816b7266369fa843dd36aff9d6e41bcbb57e
parentc1ab4a6f1fc8778ec529a448514fdad4cd4d9479 (diff)
downloadorg.eclipse.lyo.rio-8ad7840fcb8d15f5700cf26a2c12d7ee5ab082d9.zip
org.eclipse.lyo.rio-8ad7840fcb8d15f5700cf26a2c12d7ee5ab082d9.tar.gz
org.eclipse.lyo.rio-8ad7840fcb8d15f5700cf26a2c12d7ee5ab082d9.tar.bz2
Bug 427709 - Remove unused description parameter from AutomationResultrefs/changes/03/21703/4
Populate.createAutomationResult() took in a description parameter that was never used. Additionally, the OSLC Automation 2.0 specification does not list dcterms:description as a property for AutomationResult. Change-Id: Ib56bc168796d01f76dbbd43ed1c9ef92285fdddd Signed-off-by: ttsanton <ttsanton@us.ibm.com>
-rw-r--r--org.eclipse.lyo.oslc4j.automation/src/main/java/org/eclipse/lyo/oslc4j/automation/servlet/Populate.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/org.eclipse.lyo.oslc4j.automation/src/main/java/org/eclipse/lyo/oslc4j/automation/servlet/Populate.java b/org.eclipse.lyo.oslc4j.automation/src/main/java/org/eclipse/lyo/oslc4j/automation/servlet/Populate.java
index 16bfcf8..3bae2ee 100644
--- a/org.eclipse.lyo.oslc4j.automation/src/main/java/org/eclipse/lyo/oslc4j/automation/servlet/Populate.java
+++ b/org.eclipse.lyo.oslc4j.automation/src/main/java/org/eclipse/lyo/oslc4j/automation/servlet/Populate.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 IBM Corporation.
+ * Copyright (c) 2012, 2014 IBM Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -78,11 +78,7 @@ final class Populate
autoPlan3);
Persistence.addResource(autoRequest);
- AutomationResult autoResult = createAutomationResult("Sample Automation Result",
- "A sample automation result - does not represent an actual execution",
- "autoResults",
- autoPlan3,
- autoRequest);
+ AutomationResult autoResult = createAutomationResult("Sample Automation Result", "autoResults", autoPlan3, autoRequest);
Persistence.addResource(autoResult);
Property[] params2 = {new Property("test_environment", Occurs.ZeroOrOne, new URI(AutomationConstants.AUTOMATION_NAMESPACE + "parameterDefinition"), ValueType.String),
@@ -113,7 +109,6 @@ final class Populate
Persistence.addResource(autoRequest2);
AutomationResult autoResult2 = createAutomationResult("Build Account Inquiry Site",
- "Result for Continuous Build of Account Inquiry Site",
"autoResults",
autoPlan1,
autoRequest2);
@@ -186,7 +181,6 @@ final class Populate
}
private AutomationResult createAutomationResult(final String title,
- final String description,
final String path,
final AutomationPlan autoPlan,
final AutomationRequest autoRequest) throws URISyntaxException
@@ -221,6 +215,5 @@ final class Populate
return autoResult;
}
-
}