<commit_before>package org.pentaho.platform.dataaccess.datasource.ui.service;


import org.pentaho.platform.dataaccess.datasource.IDatasourceInfo;

import com.google.gwt.core.client.JavaScriptObject;

public class JSDatasourceInfo extends JavaScriptObject implements IDatasourceInfo{

  // Overlay types always have protected, zero argument constructors.
  protected JSDatasourceInfo() {
  }
  // JSNI methods to get datasource info data.
  public final native String getDatasourceName() /*-{ return this.name; }-*/;

  public final native String getDatasourceId() /*-{ return this.id; }-*/; //

  public final native String getDatasourceType() /*-{ return this.type; }-*/; 

  private final native boolean isDatasourceEditable() /*-{ return this.editable; }-*/; //
  
  private final native boolean isDatasourceRemovable() /*-{ return this.removable; }-*/; //

  private final native boolean isDatasourceImportable() /*-{ return this.importable; }-*/; //
  
  private final native boolean isDatasourceExportable() /*-{ return this.exportable; }-*/; //

  
  @Override
  public final String getName() {
    return getDatasourceName();
  }

  @Override
  public final String getId() {
    return getDatasourceId();
  }

  @Override
  public final String getType() {
    return getDatasourceType();
  }

  @Override
  public final boolean isEditable() {
    return isEditable();
  }

  @Override
  public final boolean isRemovable() {
    return isRemovable();
  }
<commit_msg>Fixing the recursive error<commit_after>package org.pentaho.platform.dataaccess.datasource.ui.service;


import org.pentaho.platform.dataaccess.datasource.IDatasourceInfo;

import com.google.gwt.core.client.JavaScriptObject;

public class JSDatasourceInfo extends JavaScriptObject implements IDatasourceInfo{

  // Overlay types always have protected, zero argument constructors.
  protected JSDatasourceInfo() {
  }
  // JSNI methods to get datasource info data.
  public final native String getDatasourceName() /*-{ return this.name; }-*/;

  public final native String getDatasourceId() /*-{ return this.id; }-*/; //

  public final native String getDatasourceType() /*-{ return this.type; }-*/; 

  private final native boolean isDatasourceEditable() /*-{ return this.editable; }-*/; //
  
  private final native boolean isDatasourceRemovable() /*-{ return this.removable; }-*/; //

  private final native boolean isDatasourceImportable() /*-{ return this.importable; }-*/; //
  
  private final native boolean isDatasourceExportable() /*-{ return this.exportable; }-*/; //

  
  @Override
  public final String getName() {
    return getDatasourceName();
  }

  @Override
  public final String getId() {
    return getDatasourceId();
  }

  @Override
  public final String getType() {
    return getDatasourceType();
  }

  @Override
  public final boolean isEditable() {
    return isDatasourceEditable();
  }

  @Override
  public final boolean isRemovable() {
    return isDatasourceRemovable();
  }

{'fraction_non_alphanumeric': 0.11733154542406973, 'fraction_numerical': 0.0, 'mean_word_length': 3.782051282051282, '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': '142836', 'n_tokens_mistral': 930, 'n_tokens_neox': 872, 'n_words': 231}