File tree Expand file tree Collapse file tree
java/ql/test/library-tests/properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ | | |
2+ | | separatorAndValue1 |
3+ | | separatorAndValue2 |
4+ | Can:you=spot theactual=separator? | I betitwill=take:you a moment! |
5+ | a | unicode value |
6+ | co | lon |
7+ | duplicate | value1 |
8+ | duplicate | value2 |
9+ | indented | value |
10+ | multilinename | value |
11+ | name with spaces | value with spaces |
12+ | nameAndSeparator1 | |
13+ | nameAndSeparator2 | |
14+ | nameAndSeparator3? | |
15+ | nameOnly | |
16+ | property1 | value |
17+ | property2 | value |
18+ | property3 | value |
19+ | property4 | valueWithTrailingSpaces |
20+ | property5 | multi linevalue |
21+ | sortOfEmptyButNotReally | |
22+ | space | separator |
23+ | this | is a new property because the previous line has spaces after the backslash |
24+ | thisIsANameNotAValue! | |
25+ | with | line\nbreak |
Original file line number Diff line number Diff line change 1+ import default
2+ import semmle.code.configfiles.ConfigFiles
3+
4+ from ConfigPair cp
5+ select cp .getEffectiveName ( ) , cp .getEffectiveValue ( )
Original file line number Diff line number Diff line change 1+ public class Test { }
Original file line number Diff line number Diff line change 1+ property1 =value
2+ property2 =value
3+ property3 = value
4+ property4 = valueWithTrailingSpaces
5+ name\ with\ spaces = value with spaces
6+ space separator
7+ co :lon
8+ property5 = \
9+ \
10+ multi \
11+ line\
12+ value\
13+ this is a new property because the previous line has spaces after the backslash
14+ with =line\n break
15+ a =unicode\u0020 value
16+ indented =value
17+
18+ multi\
19+ line\
20+ name =value
21+
22+ duplicate =value1
23+ nameOnly
24+ # this and the following lines
25+ # are comments or are empty \
26+ ! and should thus be ignored
27+ !
28+
29+
30+ nameAndSeparator1 =
31+ nameAndSeparator2 :
32+ nameAndSeparator3?
33+ =
34+ :
35+ :
36+ :
37+ =separatorAndValue1
38+ :separatorAndValue2
39+ thisIsANameNotAValue!
40+ sortOfEmptyButNotReally =\
41+ \
42+ \
43+ \u0020
44+
45+ duplicate =value2
46+
47+ Can\: you\= spot\ the\
48+ actual\
49+ \= separator? I bet\
50+ it\
51+ will=\
52+ take:\
53+ you a moment!
You can’t perform that action at this time.
0 commit comments