<commit_before>package edu.oregonstate.mist.tasx

class UserController {

    static defaultAction = ""

    Map register() {
        User newUser = new User((String)params.name, (String)params.email)

        newUser.setPassword((String)params.pass1, (String)params.pass2)

        if (newUser.validate()) {
            redirect(action: "account")
        }

        return [ user: newUser ]
    }
}<commit_msg>remove explicit casts<commit_after>package edu.oregonstate.mist.tasx

class UserController {

    static defaultAction = ""

    Map register() {
        User newUser = new User(params.name, params.email)

        newUser.setPassword(params.<PASSWORD>, params.<PASSWORD>)

        if (newUser.validate()) {
            redirect(action: "account")
        }

        return [ user: newUser ]
    }
}
{'fraction_non_alphanumeric': 0.11851851851851852, 'fraction_numerical': 0.0024691358024691358, 'mean_word_length': 2.6044444444444443, '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': '1919620', 'n_tokens_mistral': 248, 'n_tokens_neox': 233, 'n_words': 46}