From 0a69886c065d2389042774a76a4f571009ea2f03 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 13 Apr 2020 12:09:48 +0200 Subject: [PATCH] TPV-5209 http -> https --- README.md | 2 ++ .../main/gen/org/intellij/sdk/language/SimpleLexer.java | 2 +- .../intellij/sdk/language/SimpleColorSettingsPage.java | 4 ++-- .../language/SimpleLanguageCodeStyleSettingsProvider.java | 2 +- .../org/intellij/sdk/language/SimpleCodeInsightTest.java | 8 ++++---- .../src/test/testData/DefaultTestData.simple | 2 +- .../src/test/testData/FindUsagesTestData.simple | 2 +- .../src/test/testData/FoldingTestData.java | 2 +- .../src/test/testData/FormatterTestData.simple | 2 +- .../src/test/testData/ParsingTestData.simple | 2 +- .../src/test/testData/ParsingTestData.txt | 4 ++-- .../src/test/testData/RenameTestData.simple | 4 ++-- .../src/test/testData/RenameTestDataAfter.simple | 4 ++-- .../java/org/intellij/sdk/toolWindow/MyToolWindow.form | 2 +- 14 files changed, 22 insertions(+), 20 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 000000000..a3bdd8421 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +test +ww diff --git a/simple_language_plugin/src/main/gen/org/intellij/sdk/language/SimpleLexer.java b/simple_language_plugin/src/main/gen/org/intellij/sdk/language/SimpleLexer.java index b20c23625..597249850 100644 --- a/simple_language_plugin/src/main/gen/org/intellij/sdk/language/SimpleLexer.java +++ b/simple_language_plugin/src/main/gen/org/intellij/sdk/language/SimpleLexer.java @@ -10,7 +10,7 @@ import com.intellij.psi.TokenType; /** * This class is a scanner generated by - * JFlex 1.7.0 + * JFlex 1.7.0 * from the specification file Simple.flex */ class SimpleLexer implements FlexLexer { diff --git a/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleColorSettingsPage.java b/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleColorSettingsPage.java index 1d759cf80..cb9ff628e 100644 --- a/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleColorSettingsPage.java +++ b/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleColorSettingsPage.java @@ -35,7 +35,7 @@ public class SimpleColorSettingsPage implements ColorSettingsPage { public String getDemoText() { return "# You are reading the \".properties\" entry.\n" + "! The exclamation mark can also mark text as comments.\n" + - "website = http://en.wikipedia.org/\n" + + "website = https://en.wikipedia.org/\n" + "language = English\n" + "# The backslash below tells the application to continue reading\n" + "# the value onto the next line.\n" + @@ -70,4 +70,4 @@ public class SimpleColorSettingsPage implements ColorSettingsPage { public String getDisplayName() { return "Simple"; } -} \ No newline at end of file +} diff --git a/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleLanguageCodeStyleSettingsProvider.java b/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleLanguageCodeStyleSettingsProvider.java index 53984174e..27acc2943 100644 --- a/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleLanguageCodeStyleSettingsProvider.java +++ b/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleLanguageCodeStyleSettingsProvider.java @@ -27,7 +27,7 @@ public class SimpleLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSe public String getCodeSample(@NotNull SettingsType settingsType) { return "# You are reading the \".properties\" entry.\n" + "! The exclamation mark can also mark text as comments.\n" + - "website = http://en.wikipedia.org/\n" + + "website = https://en.wikipedia.org/\n" + "\n" + "language = English\n" + "# The backslash below tells the application to continue reading\n" + diff --git a/simple_language_plugin/src/test/java/org/intellij/sdk/language/SimpleCodeInsightTest.java b/simple_language_plugin/src/test/java/org/intellij/sdk/language/SimpleCodeInsightTest.java index 93696bcb6..3c55e0a76 100644 --- a/simple_language_plugin/src/test/java/org/intellij/sdk/language/SimpleCodeInsightTest.java +++ b/simple_language_plugin/src/test/java/org/intellij/sdk/language/SimpleCodeInsightTest.java @@ -69,17 +69,17 @@ public class SimpleCodeInsightTest extends LightJavaCodeInsightFixtureTestCase { } public void testCommenter() { - myFixture.configureByText(SimpleFileType.INSTANCE, "website = http://en.wikipedia.org/"); + myFixture.configureByText(SimpleFileType.INSTANCE, "website = https://en.wikipedia.org/"); CommentByLineCommentAction commentAction = new CommentByLineCommentAction(); commentAction.actionPerformedImpl(getProject(), myFixture.getEditor()); - myFixture.checkResult("#website = http://en.wikipedia.org/"); + myFixture.checkResult("#website = https://en.wikipedia.org/"); commentAction.actionPerformedImpl(getProject(), myFixture.getEditor()); - myFixture.checkResult("website = http://en.wikipedia.org/"); + myFixture.checkResult("website = https://en.wikipedia.org/"); } public void testReference() { myFixture.configureByFiles("ReferenceTestData.java", "DefaultTestData.simple"); PsiElement element = myFixture.getFile().findElementAt(myFixture.getCaretOffset()).getParent(); - assertEquals("http://en.wikipedia.org/", ((SimpleProperty) element.getReferences()[0].resolve()).getValue()); + assertEquals("https://en.wikipedia.org/", ((SimpleProperty) element.getReferences()[0].resolve()).getValue()); } } diff --git a/simple_language_plugin/src/test/testData/DefaultTestData.simple b/simple_language_plugin/src/test/testData/DefaultTestData.simple index ebe624812..a6c3543d1 100644 --- a/simple_language_plugin/src/test/testData/DefaultTestData.simple +++ b/simple_language_plugin/src/test/testData/DefaultTestData.simple @@ -1,6 +1,6 @@ # You are reading the ".properties" entry. ! The exclamation mark can also mark text as comments. -website = http://en.wikipedia.org/ +website = https://en.wikipedia.org/ language = English diff --git a/simple_language_plugin/src/test/testData/FindUsagesTestData.simple b/simple_language_plugin/src/test/testData/FindUsagesTestData.simple index 2f31ab9e2..a06ba4281 100644 --- a/simple_language_plugin/src/test/testData/FindUsagesTestData.simple +++ b/simple_language_plugin/src/test/testData/FindUsagesTestData.simple @@ -1,6 +1,6 @@ # You are reading the ".properties" entry. ! The exclamation mark can also mark text as comments. -website = http://en.wikipedia.org/ +website = https://en.wikipedia.org/ language = English # The backslash below tells the application to continue reading diff --git a/simple_language_plugin/src/test/testData/FoldingTestData.java b/simple_language_plugin/src/test/testData/FoldingTestData.java index 1920b5fae..3b80c13c0 100644 --- a/simple_language_plugin/src/test/testData/FoldingTestData.java +++ b/simple_language_plugin/src/test/testData/FoldingTestData.java @@ -1,6 +1,6 @@ public class Test { public static void main(String[] args) { - System.out.println("simple:website"); + System.out.println("simple:website"); } public static void main1(String[] args) { System.out.println("simple:key with spaces"); diff --git a/simple_language_plugin/src/test/testData/FormatterTestData.simple b/simple_language_plugin/src/test/testData/FormatterTestData.simple index 44a78fa68..ad0d03121 100644 --- a/simple_language_plugin/src/test/testData/FormatterTestData.simple +++ b/simple_language_plugin/src/test/testData/FormatterTestData.simple @@ -1,6 +1,6 @@ # You are reading the ".properties" entry. ! The exclamation mark can also mark text as comments. -website=http://en.wikipedia.org/ +website=https://en.wikipedia.org/ diff --git a/simple_language_plugin/src/test/testData/ParsingTestData.simple b/simple_language_plugin/src/test/testData/ParsingTestData.simple index e11fdcef3..3f3bff72b 100644 --- a/simple_language_plugin/src/test/testData/ParsingTestData.simple +++ b/simple_language_plugin/src/test/testData/ParsingTestData.simple @@ -1,6 +1,6 @@ # You are reading the ".properties" entry. ! The exclamation mark can also mark text as comments. -website = http://en.wikipedia.org/ +website = https://en.wikipedia.org/ language = English # The backslash below tells the application to continue reading diff --git a/simple_language_plugin/src/test/testData/ParsingTestData.txt b/simple_language_plugin/src/test/testData/ParsingTestData.txt index 012fa0291..802282638 100644 --- a/simple_language_plugin/src/test/testData/ParsingTestData.txt +++ b/simple_language_plugin/src/test/testData/ParsingTestData.txt @@ -8,7 +8,7 @@ Simple File(0,492) PsiWhiteSpace(' ')(105,106) PsiElement(SimpleTokenType.SEPARATOR)('=')(106,107) PsiWhiteSpace(' ')(107,108) - PsiElement(SimpleTokenType.VALUE)('http://en.wikipedia.org/')(108,132) + PsiElement(SimpleTokenType.VALUE)('https://en.wikipedia.org/')(108,132) PsiWhiteSpace('\n\n')(132,134) SimplePropertyImpl(PROPERTY)(134,152) PsiElement(SimpleTokenType.KEY)('language')(134,142) @@ -63,4 +63,4 @@ Simple File(0,492) PsiWhiteSpace(' ')(485,486) PsiElement(SimpleTokenType.SEPARATOR)('=')(486,487) PsiWhiteSpace(' ')(487,488) - PsiElement(SimpleTokenType.VALUE)('test')(488,492) \ No newline at end of file + PsiElement(SimpleTokenType.VALUE)('test')(488,492) diff --git a/simple_language_plugin/src/test/testData/RenameTestData.simple b/simple_language_plugin/src/test/testData/RenameTestData.simple index 31492ca75..4d14db858 100644 --- a/simple_language_plugin/src/test/testData/RenameTestData.simple +++ b/simple_language_plugin/src/test/testData/RenameTestData.simple @@ -1,6 +1,6 @@ # You are reading the ".properties" entry. ! The exclamation mark can also mark text as comments. -website = http://en.wikipedia.org/ +website = https://en.wikipedia.org/ language = English # The backslash below tells the application to continue reading @@ -10,4 +10,4 @@ message = Welcome to \ # Add spaces to the key key\ with\ spaces = This is the value that could be looked up with the key "key with spaces". # Unicode -tab : \u0009 \ No newline at end of file +tab : \u0009 diff --git a/simple_language_plugin/src/test/testData/RenameTestDataAfter.simple b/simple_language_plugin/src/test/testData/RenameTestDataAfter.simple index 71bf7bf73..c4757c328 100644 --- a/simple_language_plugin/src/test/testData/RenameTestDataAfter.simple +++ b/simple_language_plugin/src/test/testData/RenameTestDataAfter.simple @@ -1,6 +1,6 @@ # You are reading the ".properties" entry. ! The exclamation mark can also mark text as comments. -websiteUrl = http://en.wikipedia.org/ +websiteUrl = https://en.wikipedia.org/ language = English # The backslash below tells the application to continue reading @@ -10,4 +10,4 @@ message = Welcome to \ # Add spaces to the key key\ with\ spaces = This is the value that could be looked up with the key "key with spaces". # Unicode -tab : \u0009 \ No newline at end of file +tab : \u0009 diff --git a/tool_window/src/main/java/org/intellij/sdk/toolWindow/MyToolWindow.form b/tool_window/src/main/java/org/intellij/sdk/toolWindow/MyToolWindow.form index 5c8f35098..9b478bc6c 100644 --- a/tool_window/src/main/java/org/intellij/sdk/toolWindow/MyToolWindow.form +++ b/tool_window/src/main/java/org/intellij/sdk/toolWindow/MyToolWindow.form @@ -1,5 +1,5 @@ -
+