<commit_before>package org.osmdroid.google;

import org.osmdroid.api.IMapView;
import org.osmdroid.api.IProjection;

import android.content.Context;
import android.util.AttributeSet;

import com.google.android.maps.MapView;

public class GoogleMapView implements IMapView {

	private final MapView mMapView;

	public GoogleMapView(final MapView pMapView) {
		mMapView = pMapView;
	}

	@Override
	public IProjection getProjection() {
		return new GoogleProjection(mMapView.getProjection());
	}

}<commit_msg>do constructors instead of getInstance<commit_after>package org.osmdroid.google;

import org.osmdroid.api.IMapView;
import org.osmdroid.api.IProjection;

import android.content.Context;
import android.util.AttributeSet;

import com.google.android.maps.MapView;

public class GoogleMapView implements IMapView {

	private final MapView mMapView;

	public GoogleMapView(final MapView pMapView) {
		mMapView = pMapView;
	}

	public GoogleMapView(final Context pContext, final AttributeSet pAttrs, final int pDefStyle) {
		this(new MapView(pContext, pAttrs, pDefStyle));
	}

	public GoogleMapView(final Context pContext, final AttributeSet pAttrs) {
		this(new MapView(pContext, pAttrs));
	}

	public GoogleMapView(final Context pContext, final String pApiKey) {
		this(new MapView(pContext, pApiKey));
	}

	@Override
	public IProjection getProjection() {
		return new GoogleProjection(mMapView.getProjection());
	}

}
{'fraction_non_alphanumeric': 0.08796622097114708, 'fraction_numerical': 0.0, 'mean_word_length': 5.771428571428571, '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': '5711931', 'n_tokens_mistral': 476, 'n_tokens_neox': 458, 'n_words': 106}