<commit_before>/**
 * Copyright © 2017 Viro Media. All rights reserved.
 */
package com.viromedia.bridge.component;

import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
import com.viromedia.bridge.utility.ViroEvents;

import java.util.Map;

public class ControllerManager extends ViroViewGroupManager<Controller> {

    public ControllerManager(ReactApplicationContext context) {
        super(context);
    }

    @Override
    public String getName() {
        return "VRTController";
    }

    @Override
    protected Controller createViewInstance(ThemedReactContext reactContext) {
        return new Controller(getContext());
    }

    @ReactProp(name = "reticleVisibility", defaultBoolean = Controller.DEFAULT_RETICLE_VISIBILITY)
    protected void setReticleVisibility(Controller view, boolean reticleVisibility) {
        view.setReticleVisibility(reticleVisibility);
    }

    @ReactProp(name = "controllerVisibility", defaultBoolean = Controller.DEFAULT_CONTROLLER_VISIBILITY)
    protected void setControllerVisibility(Controller view, boolean controllerVisibility) {
        view.setControllerVisibility(controllerVisibility);
    }

    @ReactProp(name = "canClick", defaultBoolean = Controller.DEFAULT_CAN_CLICK)
    public void setCanClick(Controller view, boolean canClick) {
        view.setCanClick(canClick);
    }
<commit_msg>Fix setReticleVisibility method visibility<commit_after>/**
 * Copyright © 2017 Viro Media. All rights reserved.
 */
package com.viromedia.bridge.component;

import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
import com.viromedia.bridge.utility.ViroEvents;

import java.util.Map;

public class ControllerManager extends ViroViewGroupManager<Controller> {

    public ControllerManager(ReactApplicationContext context) {
        super(context);
    }

    @Override
    public String getName() {
        return "VRTController";
    }

    @Override
    public Controller createViewInstance(ThemedReactContext reactContext) {
        return new Controller(getContext());
    }

    @ReactProp(name = "reticleVisibility", defaultBoolean = Controller.DEFAULT_RETICLE_VISIBILITY)
    public void setReticleVisibility(Controller view, boolean reticleVisibility) {
        view.setReticleVisibility(reticleVisibility);
    }

    @ReactProp(name = "controllerVisibility", defaultBoolean = Controller.DEFAULT_CONTROLLER_VISIBILITY)
    public void setControllerVisibility(Controller view, boolean controllerVisibility) {
        view.setControllerVisibility(controllerVisibility);
    }

    @ReactProp(name = "canClick", defaultBoolean = Controller.DEFAULT_CAN_CLICK)
    public void setCanClick(Controller view, boolean canClick) {
        view.setCanClick(canClick);
    }

{'fraction_non_alphanumeric': 0.08327868852459017, 'fraction_numerical': 0.002622950819672131, 'mean_word_length': 4.756603773584906, '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': '6893506', 'n_tokens_mistral': 807, 'n_tokens_neox': 805, 'n_words': 161}