MCPcopy Create free account
hub / github.com/Qihoo360/poseidon / addBlankLine

Method addBlankLine

builder/index/src/main/java/util/IniParser.java:427–433  ·  view source on GitHub ↗

Adds a blank line to the end of a section. @param section the section's name @throws IniParser.NoSuchSectionException no section with the given name exists

(String section)

Source from the content-addressed store, hash-verified

425 * @throws IniParser.NoSuchSectionException no section with the given name exists
426 */
427 public void addBlankLine(String section) {
428 if (hasSection(section)) {
429 getSection(section).addBlankLine();
430 } else {
431 throw new NoSuchSectionException(section);
432 }
433 }
434
435 /**
436 * Writes this instance in INI format to a file.

Callers

nothing calls this directly

Calls 2

hasSectionMethod · 0.95
getSectionMethod · 0.95

Tested by

no test coverage detected