Skip to content

Commit

Permalink
Fix spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
intrications committed Mar 31, 2013
1 parent 5f5667d commit e0caaf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/devspark/robototextview/widget/RobotoTextView.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private void parseAttributes(Context context, AttributeSet attrs) {
int typefaceValue = values.getInt(R.styleable.RobotoTextView_typeface, 0);
values.recycle();

setTypeface(obtaintTypeface(context, typefaceValue));
setTypeface(obtainTypeface(context, typefaceValue));
}

/**
Expand All @@ -138,7 +138,7 @@ private void parseAttributes(Context context, AttributeSet attrs) {
* @return Roboto {@link Typeface}
* @throws IllegalArgumentException if unknown `typeface` attribute value.
*/
private Typeface obtaintTypeface(Context context, int typefaceValue) throws IllegalArgumentException {
private Typeface obtainTypeface(Context context, int typefaceValue) throws IllegalArgumentException {
Typeface typeface = mTypefaces.get(typefaceValue);
if (typeface == null) {
typeface = createTypeface(context, typefaceValue);
Expand Down

0 comments on commit e0caaf3

Please sign in to comment.