summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/Language.java
blob: 6eafb4dc69857b9277f17e04e718b541fd7a02e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.gitblit.wicket.pages;

import java.io.Serializable;

public class Language implements Serializable {

	private static final long serialVersionUID = 1L;

	final String name;
	final String code;

	public Language(String name, String code) {
		this.name = name;
		this.code = code;
	}

	@Override
	public String toString() {
		return name + " (" + code + ")";
	}
}