IDEMPIERE-2544:to more warning compiler hidden good warning
leak io
This commit is contained in:
parent
5044414ae4
commit
0305e1bf32
|
@ -465,6 +465,8 @@ public class EMailProcessor
|
||||||
int c;
|
int c;
|
||||||
while ((c = is.read()) != -1)
|
while ((c = is.read()) != -1)
|
||||||
sb.append((char)c);
|
sb.append((char)c);
|
||||||
|
|
||||||
|
is.close();
|
||||||
deliveryMessage = sb.toString().trim();
|
deliveryMessage = sb.toString().trim();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -674,6 +676,7 @@ public class EMailProcessor
|
||||||
int c;
|
int c;
|
||||||
while ((c = is.read()) != -1)
|
while ((c = is.read()) != -1)
|
||||||
System.out.write(c);
|
System.out.write(c);
|
||||||
|
is.close();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue