<commit_before>package consulo.hub.shared.repository;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.ArrayUtils;

import java.io.File;

/**
 * @author VISTALL
 * @since 30-Aug-16
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PluginNode implements Cloneable
{
	public static class Extension
	{
		public String key;

		public String[] values = ArrayUtils.EMPTY_STRING_ARRAY;
	}

	public static class Permission
	{
		public String type;

		public String[] options;
	}

	public static class Checksum
	{
		public String md5;
		public String sha_256;
		public String sha3_256;
	}

	private static final String CORE_PLUGIN = "com.intellij";

	public static final PluginNode[] EMPTY_ARRAY = new PluginNode[0];

	public String id;
	public String name;
	public String description;
	public String category;
	public String vendor;
	public Checksum checksum = new Checksum();
	public Integer downloads;
	public Long length;
	public Long date;
	public String version;
	public String platformVersion;
	public String[] dependencies;
	public String[] optionalDependencies;
	public String[] incompatibleWiths;
	public String iconBytes;

	public Extension[] extensions;
	public Extension[] extensionsV2;<commit_msg>use only not null values<commit_after>package consulo.hub.shared.repository;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.ArrayUtils;

import java.io.File;

/**
 * @author VISTALL
 * @since 30-Aug-16
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PluginNode implements Cloneable
{
	@JsonInclude(JsonInclude.Include.NON_NULL)
	public static class Extension
	{
		public String key;

		public String[] values = ArrayUtils.EMPTY_STRING_ARRAY;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public static class Permission
	{
		public String type;

		public String[] options;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public static class Checksum
	{
		public String md5;
		public String sha_256;
		public String sha3_256;
	}

	private static final String CORE_PLUGIN = "com.intellij";

	public static final PluginNode[] EMPTY_ARRAY = new PluginNode[0];

	public String id;
	public String name;
	public String description;
	public String category;
	public String vendor;
	public Checksum checksum = new Checksum();
	public Integer downloads;
	public Long length;
	public Long date;
	public String version;
	public String platformVersion;
	public String[] dependencies;
	public String[] optionalDependencies;
	public String[] incompatibleWiths;
	public String iconBytes;

	public Extension[] extensions;
	public Extension[] extensionsV2;
{'fraction_non_alphanumeric': 0.07913669064748201, 'fraction_numerical': 0.011359333585762969, 'mean_word_length': 5.073563218390805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3750786', 'n_tokens_mistral': 828, 'n_tokens_neox': 770, 'n_words': 242}