File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
src/main/java/org/trellisldp/camel Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,11 @@ public Link(final String value) {
3737 this .uri = val .startsWith ("<" ) && val .endsWith (">" ) ? val .substring (1 , val .length () - 1 ) : null ;
3838 for (int i = 1 ; i < parts .length ; i ++) {
3939 final String [] p = parts [i ].trim ().split ("=" );
40- if (p .length == 2 ) {
41- if (!params .containsKey (p [0 ])) {
42- if (p [1 ].startsWith ("\" " ) && p [1 ].endsWith ("\" " )) {
43- params .put (p [0 ], p [1 ].substring (1 , p [1 ].length () - 1 ));
44- } else {
45- params .put (p [0 ], p [1 ]);
46- }
40+ if (p .length == 2 && !params .containsKey (p [0 ])) {
41+ if (p [1 ].startsWith ("\" " ) && p [1 ].endsWith ("\" " )) {
42+ params .put (p [0 ], p [1 ].substring (1 , p [1 ].length () - 1 ));
43+ } else {
44+ params .put (p [0 ], p [1 ]);
4745 }
4846 }
4947 }
You can’t perform that action at this time.
0 commit comments