<commit_before>package ethanjones.cubes.core.platform.desktop;

import com.badlogic.gdx.files.FileHandle;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;

import ethanjones.cubes.core.mod.ModLoader;

public class DesktopModLoader implements ModLoader {

  public class ExternalJarLoader extends URLClassLoader {

    public ExternalJarLoader(FileHandle fileHandle) throws IOException {
      super(new URL[]{fileHandle.file().toURI().toURL()});
    }

  }

  @Override
  public ModType getType() {
    return ModType.jar;
  }

  @Override
  public Class<?> loadClass(FileHandle classFile, String className) throws Exception {
    return new ExternalJarLoader(classFile).loadClass(className);
  }
}<commit_msg>FindBugs: Should be a static inner class<commit_after>package ethanjones.cubes.core.platform.desktop;

import com.badlogic.gdx.files.FileHandle;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;

import ethanjones.cubes.core.mod.ModLoader;

public class DesktopModLoader implements ModLoader {

  public static class ExternalJarLoader extends URLClassLoader {

    public ExternalJarLoader(FileHandle fileHandle) throws IOException {
      super(new URL[]{fileHandle.file().toURI().toURL()});
    }

  }

  @Override
  public ModType getType() {
    return ModType.jar;
  }

  @Override
  public Class<?> loadClass(FileHandle classFile, String className) throws Exception {
    return new ExternalJarLoader(classFile).loadClass(className);
  }
}
{'fraction_non_alphanumeric': 0.09683794466403162, 'fraction_numerical': 0.0, 'mean_word_length': 4.887596899224806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5108643', 'n_tokens_mistral': 467, 'n_tokens_neox': 445, 'n_words': 101}