|
@@ -13,7 +13,7 @@ import java.util.Set;
|
|
public class PropertyFileUtil {
|
|
public class PropertyFileUtil {
|
|
|
|
|
|
public static void write(List<PropertyItem> propertyList, OutputStream ous, String comment) throws IOException {
|
|
public static void write(List<PropertyItem> propertyList, OutputStream ous, String comment) throws IOException {
|
|
- Properties p = new Properties();
|
|
|
|
|
|
+ Properties p = new SortedProperties();
|
|
for (PropertyItem item : propertyList) {
|
|
for (PropertyItem item : propertyList) {
|
|
p.put(item.getKey(), item.getValue());
|
|
p.put(item.getKey(), item.getValue());
|
|
}
|
|
}
|