Changeset 7717


Ignore:
Timestamp:
May 22, 2019, 8:38:25 AM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2139: Switch to Java 11 (or later)

Removed a call to new Float().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/my_base/user/submit_user.jsp

    r7605 r7717  
    166166      sc.setUserClientSetting("appearance.scale", Integer.toString(newScale));
    167167      sc.setUserClientSetting("appearance.fontsize", Values.getString(request.getParameter("fontsize"), "size_m.css"));
    168       sc.setSessionSetting("appearance.scale", new Float(newScale / 100.0));
     168      sc.setSessionSetting("appearance.scale", newScale / 100.0f);
    169169      sc.setUserClientSetting("text.long", request.getParameter("longTexts"));
    170170      ItemContext cc = sc.getCurrentContext(Item.USERCLIENTSETTING);
Note: See TracChangeset for help on using the changeset viewer.