<commit_before>package com.github.jaystgelais.jrpg.ui;

import com.github.jaystgelais.jrpg.graphics.GraphicsService;
import com.github.jaystgelais.jrpg.input.InputService;

public final class Container extends AbstractContent {
    private Content content;

    public Container(final int screenPositionX, final int screenPositionY, final int width, final int height) {
        super(screenPositionX, screenPositionY, width, height);
    }

    @Override
    protected boolean canChangeMargins() {
        return (content == null);
    }

    public Content getContent() {
        return content;
    }

    public void setContent(final Content content) {
        this.content = content;
    }

    @Override
    public void render(final GraphicsService graphicsService) {
        if (content != null) {
            content.render(graphicsService);
        }
    }

    @Override
    public void dispose() {
        if (content != null) {
            content.dispose();
        }
    }

    @Override
    public void update(final long elapsedTime) {
        if (content != null) {
            content.update(elapsedTime);
        }
    }

    @Overrides
    public void handleInput(final InputService inputService) {
            if (content != null) {
                content.handleInput(inputService);
            }
    }
}
<commit_msg>Panel text refactor. Includes typed text<commit_after>package com.github.jaystgelais.jrpg.ui;

import com.github.jaystgelais.jrpg.graphics.GraphicsService;
import com.github.jaystgelais.jrpg.input.InputService;

public final class Container extends AbstractContent {
    private Content content;

    public Container(final int screenPositionX, final int screenPositionY, final int width, final int height) {
        super(screenPositionX, screenPositionY, width, height);
    }

    @Override
    protected boolean canChangeMargins() {
        return (content == null);
    }

    public Content getContent() {
        return content;
    }

    public void setContent(final Content content) {
        this.content = content;
    }

    @Override
    public void render(final GraphicsService graphicsService) {
        if (content != null) {
            content.render(graphicsService);
        }
    }

    @Override
    public void dispose() {
        if (content != null) {
            content.dispose();
        }
    }

    @Override
    public void update(final long elapsedTime) {
        if (content != null) {
            content.update(elapsedTime);
        }
    }

    @Override
    public void handleInput(final InputService inputService) {
            if (content != null) {
                content.handleInput(inputService);
            }
    }
}

{'fraction_non_alphanumeric': 0.08777777777777777, 'fraction_numerical': 0.0, 'mean_word_length': 2.3974842767295597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3520311', 'n_tokens_mistral': 744, 'n_tokens_neox': 712, 'n_words': 183}