<commit_before>package org.boinc4j;

import net.lingala.zip4j.core.ZipFile;
import net.lingala.zip4j.exception.ZipException;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.filefilter.IOFileFilter;
import org.apache.commons.io.filefilter.TrueFileFilter;
import org.xembly.Directives;
import org.xembly.ImpossibleModificationException;
import org.xembly.Xembler;

import java.io.*;
import java.net.URL;
import java.util.*;

public class BoincApp {

  public static final String DEFAULT_WRAPPER_VERSION="26014";

  public static final String MJAVA_VERSION="v0.2";

  private static final String JDK_ZIP_LOGICAL_NAME="jdk.zip";

  private static Map<String,String> jdkVersions = new HashMap<>();

  private static Map<String,String[]> jdkUrls = new HashMap<>();

  static {
    jdkVersions.put("x86_64-apple-darwin", "openjdk-1.7.0-u80-unofficial-macosx-x86_64-image");
    jdkVersions.put("i686-apple-darwin", "openjdk-1.7.0-u80-unofficial-macosx-x86_64-image");
    jdkVersions.put("windows_x86_64", "openjdk-1.7.0-u80-unofficial-windows-amd64-image");
    jdkVersions.put("windows_intelx86", "openjdk-1.7.0-u80-unofficial-windows-i586-image");
    jdkVersions.put("i686-pc-linux-gnu", "openjdk-1.7.0-u80-unofficial-linux-i586-image");
    jdkVersions.put("x86_64-pc-linux-gnu", "openjdk-1.7.0-u80-unofficial-linux-amd64-image");

    for (String p : jdkVersions.keySet()) {
      jdkUrls.put(p, new String[] {
          "https://s3.amazonaws.com/boinc4j/"+jdkVersions.get(p)+".zip"
      });
    }
  }

  private static String[] defaultPlatforms = new String[] {
      "x86_64-apple-darwin",
      "i686-apple-darwin",
      "windows_intelx86",
      "windows_x86_64",
      "i686-pc-linux-gnu",
      "x86_64-pc-linux-gnu"<commit_msg>Upgrade mjava to v0.3<commit_after>package org.boinc4j;

import net.lingala.zip4j.core.ZipFile;
import net.lingala.zip4j.exception.ZipException;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.filefilter.IOFileFilter;
import org.apache.commons.io.filefilter.TrueFileFilter;
import org.xembly.Directives;
import org.xembly.ImpossibleModificationException;
import org.xembly.Xembler;

import java.io.*;
import java.net.URL;
import java.util.*;

public class BoincApp {

  public static final String DEFAULT_WRAPPER_VERSION="26014";

  public static final String MJAVA_VERSION="v0.3";

  private static final String JDK_ZIP_LOGICAL_NAME="jdk.zip";

  private static Map<String,String> jdkVersions = new HashMap<>();

  private static Map<String,String[]> jdkUrls = new HashMap<>();

  static {
    jdkVersions.put("x86_64-apple-darwin", "openjdk-1.7.0-u80-unofficial-macosx-x86_64-image");
    jdkVersions.put("i686-apple-darwin", "openjdk-1.7.0-u80-unofficial-macosx-x86_64-image");
    jdkVersions.put("windows_x86_64", "openjdk-1.7.0-u80-unofficial-windows-amd64-image");
    jdkVersions.put("windows_intelx86", "openjdk-1.7.0-u80-unofficial-windows-i586-image");
    jdkVersions.put("i686-pc-linux-gnu", "openjdk-1.7.0-u80-unofficial-linux-i586-image");
    jdkVersions.put("x86_64-pc-linux-gnu", "openjdk-1.7.0-u80-unofficial-linux-amd64-image");

    for (String p : jdkVersions.keySet()) {
      jdkUrls.put(p, new String[] {
          "https://s3.amazonaws.com/boinc4j/"+jdkVersions.get(p)+".zip"
      });
    }
  }

  private static String[] defaultPlatforms = new String[] {
      "x86_64-apple-darwin",
      "i686-apple-darwin",
      "windows_intelx86",
      "windows_x86_64",
      "i686-pc-linux-gnu",
      "x86_64-pc-linux-gnu"
{'fraction_non_alphanumeric': 0.15160753880266076, 'fraction_numerical': 0.05598669623059867, 'mean_word_length': 4.238026124818577, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '4318932', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1374, 'n_words': 180}