<commit_before>package com.twelvemonkeys.imageio.plugins.pcx;

import com.twelvemonkeys.imageio.StandardImageMetadataSupport;

import javax.imageio.ImageTypeSpecifier;

final class PCXMetadata extends StandardImageMetadataSupport {
    public PCXMetadata(ImageTypeSpecifier type, PCXHeader header) {
        super(builder(type)
                      .withPlanarConfiguration(planarConfiguration(header))
                      .withCompressionTypeName(compressionName(header))
                      .withFormatVersion(String.valueOf(header.getVersion())));
    }

    private static PlanarConfiguration planarConfiguration(PCXHeader header) {
        System.out.println("header = " + header);
        return header.getChannels() > 1 ? PlanarConfiguration.LineInterleaved : null;
    }

    private static String compressionName(PCXHeader header) {
        switch (header.getCompression()) {
            case PCX.COMPRESSION_NONE:
                return "None";
            case PCX.COMPRESSION_RLE:
                return "RLE";
        }

        return "Uknown";
    }
}<commit_msg>Fixed typo...<commit_after>package com.twelvemonkeys.imageio.plugins.pcx;

import com.twelvemonkeys.imageio.StandardImageMetadataSupport;

import javax.imageio.ImageTypeSpecifier;

final class PCXMetadata extends StandardImageMetadataSupport {
    public PCXMetadata(ImageTypeSpecifier type, PCXHeader header) {
        super(builder(type)
                      .withPlanarConfiguration(planarConfiguration(header))
                      .withCompressionTypeName(compressionName(header))
                      .withFormatVersion(String.valueOf(header.getVersion())));
    }

    private static PlanarConfiguration planarConfiguration(PCXHeader header) {
        System.out.println("header = " + header);
        return header.getChannels() > 1 ? PlanarConfiguration.LineInterleaved : null;
    }

    private static String compressionName(PCXHeader header) {
        switch (header.getCompression()) {
            case PCX.COMPRESSION_NONE:
                return "None";
            case PCX.COMPRESSION_RLE:
                return "RLE";
        }

        return "Unknown";
    }
}
{'fraction_non_alphanumeric': 0.0853714813105676, 'fraction_numerical': 0.0009229349330872173, 'mean_word_length': 2.7704347826086955, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5532047', 'n_tokens_mistral': 579, 'n_tokens_neox': 557, 'n_words': 99}