Give fixed code without comments

[
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S2065”,
“severity”: 1,
“message”: “Remove the “transient” modifier from this field.”,
“source”: “sonarlint”,
“startLineNumber”: 8,
“startColumn”: 13,
“endLineNumber”: 8,
“endColumn”: 22
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S2065”,
“severity”: 1,
“message”: “Remove the “transient” modifier from this field.”,
“source”: “sonarlint”,
“startLineNumber”: 9,
“startColumn”: 13,
“endLineNumber”: 9,
“endColumn”: 22
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S1170”,
“severity”: 1,
“message”: “Make this final field static too.”,
“source”: “sonarlint”,
“startLineNumber”: 11,
“startColumn”: 25,
“endLineNumber”: 11,
“endColumn”: 26
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S2065”,
“severity”: 1,
“message”: “Remove the “transient” modifier from this field.”,
“source”: “sonarlint”,
“startLineNumber”: 12,
“startColumn”: 13,
“endLineNumber”: 12,
“endColumn”: 22
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S1186”,
“severity”: 1,
“message”: “Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.”,
“source”: “sonarlint”,
“startLineNumber”: 15,
“startColumn”: 12,
“endLineNumber”: 15,
“endColumn”: 22
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S3078”,
“severity”: 1,
“message”: “Use an “AtomicInteger” for this field; its operations are atomic.”,
“source”: “sonarlint”,
“startLineNumber”: 66,
“startColumn”: 9,
“endLineNumber”: 66,
“endColumn”: 17
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S2234”,
“severity”: 1,
“message”: “Parameters to a have the same names but not the same order as the method arguments. [+2 locations]”,
“source”: “sonarlint”,
“startLineNumber”: 67,
“startColumn”: 15,
“endLineNumber”: 67,
“endColumn”: 32
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S1905”,
“severity”: 1,
“message”: “Remove this unnecessary cast to “float”.”,
“source”: “sonarlint”,
“startLineNumber”: 81,
“startColumn”: 29,
“endLineNumber”: 81,
“endColumn”: 36
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S3078”,
“severity”: 1,
“message”: “Use an “AtomicInteger” for this field; its operations are atomic.”,
“source”: “sonarlint”,
“startLineNumber”: 127,
“startColumn”: 17,
“endLineNumber”: 127,
“endColumn”: 25
},
{
“resource”: “/d:/Загрузки/911/PROJECTS/Java/ubiquitous-bassoon/src/main/java/net/minecraft/server/IntHashMap.java”,
“code”: “java:S3078”,
“severity”: 1,
“message”: “Use an “AtomicInteger” for this field; its operations are atomic.”,
“source”: “sonarlint”,
“startLineNumber”: 145,
“startColumn”: 9,
“endLineNumber”: 145,
“endColumn”: 17
}
]

```java
package net.minecraft.server;

import java.util.HashSet;
import java.util.Set;

public class IntHashMap {

    private transient IntHashMapEntry[] a = new IntHashMapEntry[16];
    private transient int b;
    private int c = 12;
    private final float d = 0.75F;
    private transient volatile int e;
    // private Set f = new HashSet(); // CraftBukkit - expensive and unused

    public IntHashMap() {}

    private static int g(int i) {
        i ^= i >>> 20 ^ i >>> 12;
        return i ^ i >>> 7 ^ i >>> 4;
    }

    private static int a(int i, int j) {
        return i & j - 1;
    }

    public Object get(int i) {
        int j = g(i);

        for (IntHashMapEntry inthashmapentry = this.a[a(j, this.a.length)]; inthashmapentry != null; inthashmapentry = inthashmapentry.c) {
            if (inthashmapentry.a == i) {
                return inthashmapentry.b;
            }
        }

        return null;
    }

    public boolean b(int i) {
        return this.c(i) != null;
    }

    final IntHashMapEntry c(int i) {
        int j = g(i);

        for (IntHashMapEntry inthashmapentry = this.a[a(j, this.a.length)]; inthashmapentry != null; inthashmapentry = inthashmapentry.c) {
            if (inthashmapentry.a == i) {
                return inthashmapentry;
            }
        }

        return null;
    }

    public void a(int i, Object object) {
        // this.f.add(Integer.valueOf(i)); // CraftBukkit
        int j = g(i);
        int k = a(j, this.a.length);

        for (IntHashMapEntry inthashmapentry = this.a[k]; inthashmapentry != null; inthashmapentry = inthashmapentry.c) {
            if (inthashmapentry.a == i) {
                inthashmapentry.b = object;
                return;
            }
        }

        ++this.e;
        this.a(j, i, object, k);
    }

    private void h(int i) {
        IntHashMapEntry[] ainthashmapentry = this.a;
        int j = ainthashmapentry.length;

        if (j == 1073741824) {
            this.c = Integer.MAX_VALUE;
        } else {
            IntHashMapEntry[] ainthashmapentry1 = new IntHashMapEntry[i];

            this.a(ainthashmapentry1);
            this.a = ainthashmapentry1;
            this.c = (int) ((float) i * this.d);
        }
    }

    private void a(IntHashMapEntry[] ainthashmapentry) {
        IntHashMapEntry[] ainthashmapentry1 = this.a;
        int i = ainthashmapentry.length;

        for (int j = 0; j < ainthashmapentry1.length; ++j) {
            IntHashMapEntry inthashmapentry = ainthashmapentry1[j];

            if (inthashmapentry != null) {
                ainthashmapentry1[j] = null;

                IntHashMapEntry inthashmapentry1;

                do {
                    inthashmapentry1 = inthashmapentry.c;
                    int k = a(inthashmapentry.d, i);

                    inthashmapentry.c = ainthashmapentry[k];
                    ainthashmapentry[k] = inthashmapentry;
                    inthashmapentry = inthashmapentry1;
                } while (inthashmapentry1 != null);
            }
        }
    }

    public Object d(int i) {
        // this.f.remove(Integer.valueOf(i)); // CraftBukkit
        IntHashMapEntry inthashmapentry = this.e(i);

        return inthashmapentry == null ? null : inthashmapentry.b;
    }

    final IntHashMapEntry e(int i) {
        int j = g(i);
        int k = a(j, this.a.length);
        IntHashMapEntry inthashmapentry = this.a[k];

        IntHashMapEntry inthashmapentry1;
        IntHashMapEntry inthashmapentry2;

        for (inthashmapentry1 = inthashmapentry; inthashmapentry1 != null; inthashmapentry1 = inthashmapentry2) {
            inthashmapentry2 = inthashmapentry1.c;
            if (inthashmapentry1.a == i) {
                ++this.e;
                --this.b;
                if (inthashmapentry == inthashmapentry1) {
                    this.a[k] = inthashmapentry2;
                } else {
                    inthashmapentry.c = inthashmapentry2;
                }

                return inthashmapentry1;
            }

            inthashmapentry = inthashmapentry1;
        }

        return inthashmapentry1;
    }

    public void c() {
        ++this.e;
        IntHashMapEntry[] ainthashmapentry = this.a;

        for (int i = 0; i < ainthashmapentry.length; ++i) {
            ainthashmapentry[i] = null;
        }

        this.b = 0;
    }

    private void a(int i, int j, Object object, int k) {
        IntHashMapEntry inthashmapentry = this.a[k];

        this.a[k] = new IntHashMapEntry(i, j, object, inthashmapentry);
        if (this.b++ >= this.c) {
            this.h(2 * this.a.length);
        }
    }

    static int f(int i) {
        return g(i);
    }
}
```