0
Fixed
Singleton Example: synchronized(this) in static context
When I try to use your code of the thread-safe Singleton example, I get an error because of the use of this in an static context. Should `this` be replaced by `Singleton.class` in this example?
ΠΡΠ²Π΅Ρ
+2
ΠΡΠ²Π΅Ρ
Fixed
Hi Micha!
This was an unfortunate result of my recent update for this example. Please check it now, everything should be fine.
Π‘Π΅ΡΠ²ΠΈΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π½Π° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ΅ UserEcho
Hi Micha!
This was an unfortunate result of my recent update for this example. Please check it now, everything should be fine.