Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeth Tibbitts2008-06-25 19:28:38 +0000
committerBeth Tibbitts2008-06-25 19:28:38 +0000
commitbda18acb174c37aaed8dd7c011d0e7c8133b2bf7 (patch)
tree9fa47b16a90072ef23813cb12049d99764b405dd /tools/pldt/org.eclipse.ptp.pldt.upc
parent9720470ad7cbf4920ffccb6a0218f127fb004d8f (diff)
downloadorg.eclipse.ptp-bda18acb174c37aaed8dd7c011d0e7c8133b2bf7.tar.gz
org.eclipse.ptp-bda18acb174c37aaed8dd7c011d0e7c8133b2bf7.tar.xz
org.eclipse.ptp-bda18acb174c37aaed8dd7c011d0e7c8133b2bf7.zip
cleanup, comments, add note about file extension vs. content-type (revisit after fix to UPC content type recognition)
Diffstat (limited to 'tools/pldt/org.eclipse.ptp.pldt.upc')
-rw-r--r--tools/pldt/org.eclipse.ptp.pldt.upc/src/org/eclipse/ptp/pldt/upc/actions/RunAnalyseUPCcommandHandler.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/src/org/eclipse/ptp/pldt/upc/actions/RunAnalyseUPCcommandHandler.java b/tools/pldt/org.eclipse.ptp.pldt.upc/src/org/eclipse/ptp/pldt/upc/actions/RunAnalyseUPCcommandHandler.java
index ef4220bc6..93c935664 100644
--- a/tools/pldt/org.eclipse.ptp.pldt.upc/src/org/eclipse/ptp/pldt/upc/actions/RunAnalyseUPCcommandHandler.java
+++ b/tools/pldt/org.eclipse.ptp.pldt.upc/src/org/eclipse/ptp/pldt/upc/actions/RunAnalyseUPCcommandHandler.java
@@ -26,6 +26,7 @@ import org.eclipse.ptp.pldt.upc.UPCPlugin;
import org.eclipse.ptp.pldt.upc.analysis.UPCCASTVisitor;
/**
+ * The "Find UPC Artifacts" action/command
* @author Beth Tibbitts
*
*/
@@ -67,10 +68,14 @@ public class RunAnalyseUPCcommandHandler extends RunAnalyseHandlerBase
}
/**
- * Determination of if a given filename is valid for our artifact analysis
+ * Determination of whether or not a given filename is valid for UPC artifact analysis
+ * <br>TODO Consider using language or content-type instead of file extension?
+ * Re-visit after https://bugs.eclipse.org/bugs/show_bug.cgi?id=237331 is resolved (UPC content-type not recognized)
+ *
* @param filename
* @param isCPP is the project a C++ project or not
* @return
+ *
*/
@Override
protected boolean validForAnalysis(String filename, boolean isCPP) {

Back to the top