Skip to content

Commit

Permalink
[boot-properties] Resource value hint includes 'optional:'
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Jul 12, 2023
1 parent fcdd69a commit 2d8cd9d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2016, 2019 Pivotal, Inc.
* Copyright (c) 2016, 2023 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -38,7 +38,8 @@ public class ResourceHintProvider implements ValueProviderStrategy {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
};

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,8 @@ void testHandleAsResourceContentAssist() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}

Expand Down Expand Up @@ -1740,7 +1741,8 @@ void testSimpleResourceCompletion() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}

Expand Down Expand Up @@ -1769,7 +1771,8 @@ void testClasspathResourceCompletion() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);

assertCompletionsDisplayString(
Expand Down Expand Up @@ -1839,7 +1842,8 @@ void testClasspathResourceCompletionInCommaList() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);

assertCompletionWithLabel(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4357,7 +4357,8 @@ void testSimpleResourceCompletion() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);

assertCompletionsDisplayString(
Expand All @@ -4370,7 +4371,8 @@ void testSimpleResourceCompletion() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);

}
Expand Down Expand Up @@ -4760,7 +4762,8 @@ void testHandleAsResourceContentAssist() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}

Expand All @@ -4782,7 +4785,8 @@ void testBootBug5905() throws Exception {
"classpath*:",
"file:",
"http://",
"https://"
"https://",
"optional:"
);
}

Expand Down

0 comments on commit 2d8cd9d

Please sign in to comment.