equal
deleted
inserted
replaced
121 } |
121 } |
122 if (maxAge != null) { |
122 if (maxAge != null) { |
123 options.add("maxage=" + Utils.formatTimespan(maxAge, "")); |
123 options.add("maxage=" + Utils.formatTimespan(maxAge, "")); |
124 } |
124 } |
125 if (maxSize != 0) { |
125 if (maxSize != 0) { |
126 options.add("maxsize=" + Utils.formatBytes(maxSize, "")); |
126 options.add("maxsize=" + Utils.formatBytesCompact(maxSize)); |
127 } |
127 } |
128 if (dumpOnExit) { |
128 if (dumpOnExit) { |
129 options.add("dumponexit=true"); |
129 options.add("dumponexit=true"); |
130 } |
130 } |
131 if (duration != null) { |
131 if (duration != null) { |