Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aacf3f79 authored by Gitsaibot's avatar Gitsaibot Committed by Jochen Sprickerhof
Browse files

Remove unused variable and move variable sPermittedLineLength to class

parent 1c13b470
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@ import java.io.OutputStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Random;
import java.util.TimeZone;

/**
@@ -44,9 +43,6 @@ import java.util.TimeZone;
 */
public class IcalendarUtils {

    public static int sPermittedLineLength = 75; // Line length mandated by iCalendar format
    private static final Random tempFileRandom = new Random();

    private static final String INVITE_FILE_NAME = "invite";

    public static String uncleanseString(CharSequence sequence) {
@@ -212,6 +208,8 @@ public class IcalendarUtils {
     * @return
     */
    public static StringBuilder enforceICalLineLength(StringBuilder input) {
        final int sPermittedLineLength = 75; // Line length mandated by iCalendar format

        if (input == null) return null;
        StringBuilder output = new StringBuilder();
        int length = input.length();