diff -r 1a5197783f85 html.editor/nbproject/project.xml
--- a/html.editor/nbproject/project.xml Fri Feb 12 19:35:27 2010 +0300
+++ b/html.editor/nbproject/project.xml Sun Feb 21 22:46:45 2010 +0000
@@ -233,6 +233,14 @@
+ org.openide.dialogs
+
+
+
+ 7.14
+
+
+
org.openide.filesystems
diff -r 1a5197783f85 html.editor/src/org/netbeans/modules/html/editor/api/Utils.java
--- a/html.editor/src/org/netbeans/modules/html/editor/api/Utils.java Fri Feb 12 19:35:27 2010 +0300
+++ b/html.editor/src/org/netbeans/modules/html/editor/api/Utils.java Sun Feb 21 22:46:45 2010 +0000
@@ -134,7 +134,7 @@
}
/** This method returns an image, which is displayed for the FileObject in the explorer.
- * @param doc This is the documet, in which the icon will be used (for exmaple for completion).
+ * @param doc This is the document, in which the icon will be used (for example for completion).
* @param fo file object for which the icon is looking for
* @return an Image which is dislayed in the explorer for the file.
*/
@@ -147,7 +147,7 @@
return null;
}
- /** returns top most joined html token seuence for the document at the specified offset. */
+ /** returns top most joined html token sequence for the document at the specified offset. */
public static TokenSequence getJoinedHtmlSequence(Document doc, int offset) {
TokenHierarchy th = TokenHierarchy.get(doc);
TokenSequence ts = th.tokenSequence();
diff -r 1a5197783f85 html.editor/src/org/netbeans/modules/html/editor/resources/layer.xml
--- a/html.editor/src/org/netbeans/modules/html/editor/resources/layer.xml Fri Feb 12 19:35:27 2010 +0300
+++ b/html.editor/src/org/netbeans/modules/html/editor/resources/layer.xml Sun Feb 21 22:46:45 2010 +0000
@@ -215,6 +215,12 @@
+
+
+
+
+
+
@@ -309,6 +315,10 @@
+
+
+
+
diff -r 1a5197783f85 html.editor/test/unit/src/org/netbeans/modules/html/editor/test/Utils.java
--- a/html.editor/test/unit/src/org/netbeans/modules/html/editor/test/Utils.java Fri Feb 12 19:35:27 2010 +0300
+++ b/html.editor/test/unit/src/org/netbeans/modules/html/editor/test/Utils.java Sun Feb 21 22:46:45 2010 +0000
@@ -53,7 +53,7 @@
public class Utils {
public static String readFileContentToString(File file) throws IOException {
- StringBuffer buff = new StringBuffer();
+ StringBuilder buff = new StringBuilder();
BufferedReader rdr = new BufferedReader(new FileReader(file));
@@ -61,7 +61,7 @@
try{
while ((line = rdr.readLine()) != null){
- buff.append(line + "\n");
+ buff.append(line).append("\n");
}
} finally{
rdr.close();