diagnostics
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Fri, 12 Mar 2010 11:41:42 +0000 (14:41 +0300)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Fri, 12 Mar 2010 11:41:42 +0000 (14:41 +0300)
platform/platform-impl/src/com/intellij/openapi/vfs/impl/VirtualFilePointerImpl.java

index 697ce7a7cc9b1bf304ae14b6fffd735822424d51..85a52d461d70064afe9877d42251a4f179e3a9d7 100644 (file)
@@ -152,7 +152,7 @@ public class VirtualFilePointerImpl extends UserDataHolderBase implements Virtua
     myLastUpdated = fsModCount;
 
     if (myFile == null) {
-      LOG.assertTrue(myUrl != null);
+      LOG.assertTrue(myUrl != null, "Both file & url are null");
       myFile = myVirtualFileManager.findFileByUrl(myUrl);
       if (myFile != null) {
         myUrl = null;