Compare commits
2 Commits
68eb4e3be4
..
3.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 2eb3b4e18d | |||
| 235b07763b |
@@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>fi.lpam.ruokamanageri</groupId>
|
||||
<artifactId>Ruokamanageri</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<version>3.1.0</version>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>25</maven.compiler.source>
|
||||
|
||||
@@ -31,15 +31,13 @@ public class Main {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
System.out.println(properties.getProperty("version"));
|
||||
System.out.println(properties.getProperty("viimeisinVersio"));
|
||||
|
||||
App.main();
|
||||
|
||||
try (OutputStream os = new FileOutputStream(asetustiedosto)) {
|
||||
properties.store(os, "");
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
//noinspection CallToPrintStackTrace
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package fi.lpam.dataluokat;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Properties;
|
||||
|
||||
public class Asetukset extends Properties {
|
||||
private static Asetukset asetukset;
|
||||
|
||||
private Asetukset() {
|
||||
super();
|
||||
asetukset = this;
|
||||
System.out.println("Luotu asetukset");
|
||||
try (InputStream is = new FileInputStream("defaults.properties")) {
|
||||
asetukset.load(is);
|
||||
asetukset.forEach((k, v) -> {
|
||||
System.out.println(k + ": " + v);
|
||||
});
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public Properties get() {
|
||||
if (asetukset == null) {new Properties();}
|
||||
return asetukset;
|
||||
}
|
||||
}
|
||||
@@ -17,9 +17,8 @@ public class MuutosIlmoitus extends Stage {
|
||||
public MuutosIlmoitus() {
|
||||
super();
|
||||
VBox root = new VBox();
|
||||
root.setBorder(new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, BorderWidths.DEFAULT)));
|
||||
root.setBorder(TabPohja.oletusBorder);
|
||||
root.setPadding(TabPohja.oletusInsets);
|
||||
root.setStyle(TabPohja.oletusStyle);
|
||||
root.setAlignment(Pos.CENTER);
|
||||
root.setSpacing(10);
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
# 3.1.0
|
||||
- Muutosloki näkyy käynnistäessä uutta versiota ensimmäistä kertaa
|
||||
- Ohjelman taustariippuvuuksia päivitetty
|
||||
- Yleistä huoltoa
|
||||
|
||||
# 3.0.1
|
||||
- Kierroshallinnan muokkaus tukemaan paremmin useampaa kierrosta
|
||||
- Kosmeettisia viilauksia muuallekin
|
||||
|
||||
Reference in New Issue
Block a user