Renamed "s" to "sizeParam".
The naturalize tool detected that using "sizeParam" is more consistent with the current codebase state: * "sizeParam" in LocalStore is 22.89% probable ("s" 10.52%)
This commit is contained in:
parent
be2b3b1ec2
commit
2df205874e
1 changed files with 3 additions and 3 deletions
|
@ -2807,10 +2807,10 @@ public class LocalStore extends Store implements Serializable {
|
||||||
*/
|
*/
|
||||||
String disposition = attachment.getDisposition();
|
String disposition = attachment.getDisposition();
|
||||||
if (disposition != null) {
|
if (disposition != null) {
|
||||||
String s = MimeUtility.getHeaderParameter(disposition, "size");
|
String sizeParam = MimeUtility.getHeaderParameter(disposition, "size");
|
||||||
if (s != null) {
|
if (sizeParam != null) {
|
||||||
try {
|
try {
|
||||||
size = Integer.parseInt(s);
|
size = Integer.parseInt(sizeParam);
|
||||||
} catch (NumberFormatException e) { /* Ignore */ }
|
} catch (NumberFormatException e) { /* Ignore */ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue