|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Aug 2006
Città: Padova
Messaggi: 5658
|
[Java - Eclipse] Controllare risorse lasciate aperte
Ciao ragazzi,
sapete se esite un plugin per Eclipse che segnali in una qualche maniera il fatto che ci si è dimenticati di chiudere una risorsa del tipo PreparedStatement, ResultSet, file in lettura/scrittura e cose di questo tipo? ..mi sarebbe davvero utile!!
__________________
DESKTOP: Corsair Obsidian 550D || Corsair HX520W || Intel i5 3570k || Noctua NH-U9B SE2 || Gigabyte Z77-D3H || 2x4GB DDR3 Corsair 1600MHz || Sapphire R9 270X Dual-X || Crucial M4 128GB, WD Blue 1TB || Liteon 16x || LG IPS236V FullHD || Logitech X540 NAS: QNap TS219P || APC BE550G-IT DIABLO 3: Zhoth#2214 |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Sì, c'è PDM, e tra le sue ruleset ce n'è una che fa al caso tuo: sotto la famiglia Design Rules trovi la regola CloseResource.
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
#3 | |
|
Senior Member
Iscritto dal: Aug 2006
Città: Padova
Messaggi: 5658
|
Quote:
__________________
DESKTOP: Corsair Obsidian 550D || Corsair HX520W || Intel i5 3570k || Noctua NH-U9B SE2 || Gigabyte Z77-D3H || 2x4GB DDR3 Corsair 1600MHz || Sapphire R9 270X Dual-X || Crucial M4 128GB, WD Blue 1TB || Liteon 16x || LG IPS236V FullHD || Logitech X540 NAS: QNap TS219P || APC BE550G-IT DIABLO 3: Zhoth#2214 |
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Aug 2006
Città: Padova
Messaggi: 5658
|
L'ho provato!! ..fantastico, è proprio quello che mi serviva!! Grazie mille!!
__________________
DESKTOP: Corsair Obsidian 550D || Corsair HX520W || Intel i5 3570k || Noctua NH-U9B SE2 || Gigabyte Z77-D3H || 2x4GB DDR3 Corsair 1600MHz || Sapphire R9 270X Dual-X || Crucial M4 128GB, WD Blue 1TB || Liteon 16x || LG IPS236V FullHD || Logitech X540 NAS: QNap TS219P || APC BE550G-IT DIABLO 3: Zhoth#2214 |
|
|
|
|
|
#5 | |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Quote:
P.S.: una birra fresca sarebbe proprio la benvenuta, in questo momento!
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:57.




















