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

Unverified Commit 5f609579 authored by tobiasKaminsky's avatar tobiasKaminsky
Browse files

satisfy codacy

parent cad969a3
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -86,12 +86,12 @@ public class OwnCloudVersion implements Comparable<OwnCloudVersion> {
        int countDots = version.length() - version.replace(".", "").length();

        // Complete the version. Version must have 3 dots
        StringBuilder versionWithDots = new StringBuilder(version);
        for (int i = countDots; i < MAX_DOTS; i++) {
        	 version = version + ".0";
            versionWithDots.append(".0");
        }

         parseVersion(version);

        parseVersion(versionWithDots.toString());
    }
    
    public String toString() {