Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-doc-dev] Chkpii error in platform.doc.isv

Hi,

Could someone apply this patch to HEAD? It will fix a chkpii error.

Thanks,

Olivier


### Eclipse Workspace Patch 1.0
#P org.eclipse.platform.doc.isv
Index: guide/resAdv_efs_api.htm
===================================================================
RCS file: /cvsroot/eclipse/org.eclipse.platform.doc.isv/guide/resAdv_efs_api.htm,v
retrieving revision 1.4
diff -u -r1.4 resAdv_efs_api.htm
--- guide/resAdv_efs_api.htm	19 May 2006 21:11:07 -0000	1.4
+++ guide/resAdv_efs_api.htm	20 May 2006 01:17:25 -0000
@@ -64,7 +64,7 @@
 <pre>
 	IFileStore store = ...//some file store
 	IFileInfo info = store.fetchInfo();
-	if (info.exists() && info.isDirectory()) {
+	if (info.exists() &amp;&amp; info.isDirectory()) {
 		info.setAttribute(EFS.ATTRIBUTE_READ_ONLY, true);
 		store.putInfo(info, EFS.SET_ATTRIBUTES, null);
 	}

Back to the top