mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 10:40:11 -05:00
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
@ -2807,10 +2807,10 @@ public class LocalStore extends Store implements Serializable {
|
||||
*/
|
||||
String disposition = attachment.getDisposition();
|
||||
if (disposition != null) {
|
||||
String s = MimeUtility.getHeaderParameter(disposition, "size");
|
||||
if (s != null) {
|
||||
String sizeParam = MimeUtility.getHeaderParameter(disposition, "size");
|
||||
if (sizeParam != null) {
|
||||
try {
|
||||
size = Integer.parseInt(s);
|
||||
size = Integer.parseInt(sizeParam);
|
||||
} catch (NumberFormatException e) { /* Ignore */ }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user