{
assertTrue(GffHelperBase.parseNameValuePairs(null, ";", ' ', ",")
.isEmpty());
- assertTrue(GffHelperBase.parseNameValuePairs("", ";", ' ', ",")
- .isEmpty());
- assertTrue(GffHelperBase.parseNameValuePairs("hello=world", ";", ' ',
- ",").isEmpty());
+ assertTrue(
+ GffHelperBase.parseNameValuePairs("", ";", ' ', ",").isEmpty());
+ assertTrue(GffHelperBase
+ .parseNameValuePairs("hello=world", ";", ' ', ",").isEmpty());
- Map<String, List<String>> map = GffHelperBase.parseNameValuePairs(
- "hello world", ";", ' ', ", ");
+ Map<String, List<String>> map = GffHelperBase
+ .parseNameValuePairs("hello world", ";", ' ', ", ");
assertEquals(map.size(), 1);
assertEquals(map.get("hello").size(), 1);
assertEquals(map.get("hello").get(0), "world");
- map = GffHelperBase
- .parseNameValuePairs(
- "Method= manual curation ;nothing; Notes=F2 S ; Notes=Metal,Shiny%2Csmooth; Type=",
- ";", '=', ",");
+ map = GffHelperBase.parseNameValuePairs(
+ "Method= manual curation ;nothing; Notes=F2 S ; Notes=Metal,Shiny%2Csmooth; Type=",
+ ";", '=', ",");
// Type is ignored as no value was supplied
assertEquals(map.size(), 2);