equal
deleted
inserted
replaced
235 long segmentTotalSize = 0; |
235 long segmentTotalSize = 0; |
236 long segmentSize = 0; // running counter |
236 long segmentSize = 0; // running counter |
237 final long segmentLimit; |
237 final long segmentLimit; |
238 { |
238 { |
239 long limit; |
239 long limit; |
240 if (props.getProperty(Pack200.Packer.SEGMENT_LIMIT, "").equals("")) |
240 if (props.getProperty(Pack200.Packer.SEGMENT_LIMIT, "").isEmpty()) |
241 limit = -1; |
241 limit = -1; |
242 else |
242 else |
243 limit = props.getLong(Pack200.Packer.SEGMENT_LIMIT); |
243 limit = props.getLong(Pack200.Packer.SEGMENT_LIMIT); |
244 limit = Math.min(Integer.MAX_VALUE, limit); |
244 limit = Math.min(Integer.MAX_VALUE, limit); |
245 limit = Math.max(-1, limit); |
245 limit = Math.max(-1, limit); |