<commit_before>package de.aw.osgi.mwa.greeter.intern;

import de.aw.osgi.mwa.greeter.Greeter
import org.apache.felix.ipojo.annotations.Component
import org.apache.felix.ipojo.annotations.Instantiate
import org.apache.felix.ipojo.annotations.Invalidate
import org.apache.felix.ipojo.annotations.Requires
import org.apache.felix.ipojo.annotations.Validate
import org.osgi.service.log.LogService

import static org.osgi.service.log.LogService.LOG_INFO;

/**
 * @author armin.weisser
 */
@Component
@Instantiate
class FriendlyGreeter implements Greeter {


    @Requires
    private LogService logger;

    String greet(String name) {
        "Hello $name. Good to see you =)"
    }

    @Validate
    public void starting() {
        System.out.println("FriendlyGreeter is online via via iPojo");
        logger.log(LOG_INFO, "FriendlyGreeter is online via iPojo");
    }
<commit_msg>Do we need  public here?<commit_after>package de.aw.osgi.mwa.greeter.intern;

import de.aw.osgi.mwa.greeter.Greeter
import org.apache.felix.ipojo.annotations.Component
import org.apache.felix.ipojo.annotations.Instantiate
import org.apache.felix.ipojo.annotations.Invalidate
import org.apache.felix.ipojo.annotations.Requires
import org.apache.felix.ipojo.annotations.Validate
import org.osgi.service.log.LogService

import static org.osgi.service.log.LogService.LOG_INFO;

/**
 * @author armin.weisser
 */
@Component
@Instantiate
public class FriendlyGreeter implements Greeter {


    @Requires
    private LogService logger;

    String greet(String name) {
        "Hello $name. Good to see you =)"
    }

    @Validate
    public void starting() {
        System.out.println("FriendlyGreeter is online via via iPojo");
        logger.log(LOG_INFO, "FriendlyGreeter is online via iPojo");
    }

{'fraction_non_alphanumeric': 0.10280898876404494, 'fraction_numerical': 0.0, 'mean_word_length': 3.9335180055401664, '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': '3230378', 'n_tokens_mistral': 590, 'n_tokens_neox': 581, 'n_words': 117}