From e0dc69b5d53519fb4b3ea2e7b44376aa1e1f4980 Mon Sep 17 00:00:00 2001 From: Yann Cebron Date: Sat, 25 Dec 2010 16:06:24 +0100 Subject: [PATCH] doc/links --- .../src/com/intellij/openapi/vfs/VirtualFile.java | 4 ++-- .../src/com/intellij/testFramework/LightVirtualFile.java | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFile.java b/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFile.java index 58c66d685723..aa7269e0da12 100644 --- a/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFile.java +++ b/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFile.java @@ -44,8 +44,8 @@ import java.util.List; * VirtualFile instance for the entire lifetime of the IntelliJ IDEA process, unless the file * is deleted, in which case {@link #isValid()} for the instance will return false. *

- * If an in-memory implementation of VirtualFile is required, LightVirtualFile from the com.intellij.testFramework - * package (Extended API) can be used. + * If an in-memory implementation of VirtualFile is required, {@link com.intellij.testFramework.LightVirtualFile} + * (Extended API) can be used. *

* Please see IntelliJ IDEA Virtual File System * for high-level overview. diff --git a/platform/platform-api/src/com/intellij/testFramework/LightVirtualFile.java b/platform/platform-api/src/com/intellij/testFramework/LightVirtualFile.java index 21935b3f4052..59c97e83ba0e 100644 --- a/platform/platform-api/src/com/intellij/testFramework/LightVirtualFile.java +++ b/platform/platform-api/src/com/intellij/testFramework/LightVirtualFile.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2010 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,9 @@ import org.jetbrains.annotations.Nullable; import java.io.*; import java.nio.charset.Charset; +/** + * In-memory implementation of {@link VirtualFile}. + */ public class LightVirtualFile extends DeprecatedVirtualFile { private FileType myFileType; private CharSequence myContent = "";