Skip to content

Commit c0a64a7

Browse files
committed
🎨 légère mise en forme du code
1 parent 4c06117 commit c0a64a7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/edt/umontp/fr/EmploiDuTemps.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* @version 1.0.0
3838
*/
3939
@Deprecated(forRemoval = false)
40-
public class EmploiDuTemps implements InterfaceEmploiDuTemps {
40+
public final class EmploiDuTemps implements InterfaceEmploiDuTemps {
4141
static final ZoneId ZONE_ID = ZoneId.of("Europe/Paris");
4242
private static EmploiDuTemps singleton = null;
4343
private final String LIEN_ICAL = "https://proseconsult.umontpellier.fr/jsp/custom/modules/plannings/direct_cal"

src/main/java/edt/umontp/fr/EmploiDuTempsProxy.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public static EmploiDuTempsProxy getInstance() {
5656
*
5757
* @see Planning
5858
*/
59+
@SuppressWarnings("deprecation")
5960
@Override
6061
public Planning getPlanningOf(LocalDate date) {
6162
return cacheDate.computeIfAbsent(date, k -> emploiDuTemps.getPlanningOf(k));
@@ -88,6 +89,7 @@ public Planning getPlanningOf(LocalDate date, Groupe groupe) {
8889
* @see Groupe
8990
* @see Planning
9091
*/
92+
@SuppressWarnings("deprecation")
9193
@Override
9294
public Planning getPlanningOf(Groupe groupe) {
9395
return cacheGroupe.computeIfAbsent(groupe, k -> emploiDuTemps.getPlanningOf(k));
@@ -124,7 +126,7 @@ public boolean equals(Object o) {
124126
if (o == null || getClass() != o.getClass())
125127
return false;
126128

127-
MultiKey key = (MultiKey) o;
129+
MultiKey<K1, K2> key = (MultiKey) o;
128130

129131
if (key1 != null ? !key1.equals(key.key1) : key.key1 != null)
130132
return false;

0 commit comments

Comments
 (0)