Commit e7501371 authored by Vivek Nigam's avatar Vivek Nigam
Browse files

[YELLOW] Reviewed the code.


refs 2888
parent 55f243b7
ConnectExternalRelationToComponentAction.java a0053a8f5409f73fc661a1db90013ff5109b2b45 YELLOW
ConnectIBScopeToComponentAction.java ec7663eb3a783028bfadb05f0e1343bca4aab9fa GREEN
ConnectInterfaceBehaviourScopeToComponentAction.java e49395f7e9d02461081b080a690ae9ea8da80f2f GREEN
......@@ -17,7 +16,7 @@ DeleteRequirementSpecificationAction.java 6660ab38bf4fc3da98e1c290c85c0c691ce962
ExportImagesAction.java 75115bf5e06b81fdcd1b1d45bdbfcc9495dad6da GREEN
ExportReportAction.java 8d3b406970bd2bec615b865ddeeed9058f7d07bc GREEN
ExportSpecificationImagesAction.java 502aa16272191816b888ec92797a1a2c05f3337f GREEN
GenerateSignals.java 3e0b9c8edba9117dcc8fdcdf505cc8e36759caea GREEN
GenerateSignals.java 173023939bc6c5a38fb70e6f0cb57896ba8feedb YELLOW
ReviewAction.java 7bcb4acd4a7d86e4dadd074a361f87116b7a283c GREEN
SetActorAction.java bd66ae3d0f532254b7f016731e430845f05b137a GREEN
ShowHierarchyAction.java 41fbed239af18c6b147ff5c52bbb6033488cfa21 GREEN
......@@ -192,20 +192,6 @@ public class GenerateSignals extends EObjectActionBase<EObject> {
"The selected file already exists. Do you want to overwrite it?");
}
/**
* Returns the path to the reqif template for the target.
*
* @param target
* target of report export
* @return path to the template
*/
private String getReqIfTemplatePath(EObject target) {
if(target instanceof Analysis) {
return "/template/ReportSignalTemplateReqIF.reqif";
}
throw new IllegalArgumentException(target.getClass().getSimpleName() + " is not supported!");
}
/**
* Returns the path to the html template for the target.
*
......
ContextFactory.java a7e3a4adda611fc56a0290958b09028440b6a57e GREEN
ReqIFContextFactory.java a7c826c08a3c3a5fe5e97a641f65039e15219a30 GREEN
ContextFactory.java 7cb8765d0a7b45d5ec7f20e02d321f8ed6177166 YELLOW
ReqIFContextFactory.java 61e7d00367ce9a5a06e05b2c95e199b954b71bb2 YELLOW
......@@ -104,7 +104,7 @@ public class ContextFactory {
context = getContextFor((Analysis)obj.get(0));
}
// If the obj list has a signal at position 0
else if(obj.get(0) instanceof Signal || obj.size() == 0) {
else if(obj.get(0) instanceof Signal) {
// the only call to this method in ExportReportAction checks for the obj parameter never
// being null
context = getContextFor((List<Signal>)(List<?>)obj);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment