[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[stp-commits] r2929 - org.eclipse.stp.policy/trunk/org.eclipse.stp.policy.wtp.validation/src/java/org/eclipse/stp/policy/wtp/validation/impl
|
- From: genie@xxxxxxxxxxx
- Date: Mon, 7 Sep 2009 13:08:43 -0400 (EDT)
- Delivered-to: stp-commits@eclipse.org
Author: ashakirin
Date: 2009-09-07 13:08:40 -0400 (Mon, 07 Sep 2009)
New Revision: 2929
Modified:
org.eclipse.stp.policy/trunk/org.eclipse.stp.policy.wtp.validation/src/java/org/eclipse/stp/policy/wtp/validation/impl/IDEValidationContext.java
Log:
Improved format
Modified: org.eclipse.stp.policy/trunk/org.eclipse.stp.policy.wtp.validation/src/java/org/eclipse/stp/policy/wtp/validation/impl/IDEValidationContext.java
===================================================================
--- org.eclipse.stp.policy/trunk/org.eclipse.stp.policy.wtp.validation/src/java/org/eclipse/stp/policy/wtp/validation/impl/IDEValidationContext.java 2009-09-07 17:05:58 UTC (rev 2928)
+++ org.eclipse.stp.policy/trunk/org.eclipse.stp.policy.wtp.validation/src/java/org/eclipse/stp/policy/wtp/validation/impl/IDEValidationContext.java 2009-09-07 17:08:40 UTC (rev 2929)
@@ -33,7 +33,7 @@
* The Class IDEValidationContext.
*/
public class IDEValidationContext implements IValidationContext {
-
+
/** The _context file. */
private IFile iContextFile = null;
@@ -41,10 +41,10 @@
private File fExtFile = null;
/** The _document. */
- private Document document = null;
+ private Document mDocument = null;
/** The _doc type. */
- private ValidationObjectTypeEnum docType = null;
+ private ValidationObjectTypeEnum mDocType = null;
/** The _props. */
private Map props = new HashMap();
@@ -74,8 +74,8 @@
* @param type the type
*/
public IDEValidationContext(final Document doc, ValidationObjectTypeEnum type) {
- document = doc;
- docType = type;
+ mDocument = doc;
+ mDocType = type;
}
/** {@inheritDoc}
@@ -129,9 +129,9 @@
IValidationObject valObj = null;
ValidationObjectID objID = null;
String path = null;
- if (null != document) {
- objID = new ValidationObjectID(null, null, null, docType);
- valObj = new BaseValidationObject(objID, document);
+ if (null != mDocument) {
+ objID = new ValidationObjectID(null, null, null, mDocType);
+ valObj = new BaseValidationObject(objID, mDocument);
} else {
if (null != iContextFile) {
path = iContextFile.getName().toUpperCase();