<commit_before>package it.polimi.ingsw.game.sector;


public abstract class Sector {
	// image component stuff
	
	private boolean crossable;
	
	// Parameterized factory method
	public static Sector getSectorFor(int id) throws Exception  {
		switch(id) {
		case SectorData.ALIEN: 			return new AlienSector();
		case SectorData.DANGEROUS: 		return new DangerousSector();
		case SectorData.NOT_DANGEROUS:	return new NotDangerousSector();
		case SectorData.HATCH:			return new HatchSector();
		case SectorData.HUMAN:			return new HumanSector();
		case SectorData.NOT_VALID:		return new NotValidSector();
		default:						throw new Exception("Illegal sector code.");
		}
	}
	
	class SectorData {
		public static final int NOT_VALID = 0;
		public static final int NOT_DANGEROUS = 1;
		public static final int DANGEROUS = 2;
		public static final int ALIEN = 3;
		public static final int HUMAN = 4;
		public static final int HATCH = 5;
	}
	
}<commit_msg>Minor changes in sector constants<commit_after>package it.polimi.ingsw.game.sector;


public abstract class Sector {
	// image component stuff
	
	private boolean crossable;
	
	// Parameterized factory method
	public static Sector getSectorFor(int id) throws Exception  {
		switch(id) {
		case SectorData.ALIEN: 			return new AlienSector();
		case SectorData.DANGEROUS: 		return new DangerousSector();
		case SectorData.NOT_DANGEROUS:	return new NotDangerousSector();
		case SectorData.HATCH:			return new HatchSector();
		case SectorData.HUMAN:			return new HumanSector();
		case SectorData.NOT_VALID:		return new NotValidSector();
		default:						throw new Exception("Illegal sector code.");
		}
	}
	
	class SectorData {
		public static final int NOT_VALID = 0;
		public static final int NOT_DANGEROUS = 1;
		public static final int DANGEROUS = 3;
		public static final int ALIEN = 8;
		public static final int HUMAN = 9;
		public static final int HATCH = 5;
	}
	
}
{'fraction_non_alphanumeric': 0.07740585774058577, 'fraction_numerical': 0.006276150627615063, 'mean_word_length': 3.968831168831169, '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': '5449337', 'n_tokens_mistral': 706, 'n_tokens_neox': 598, 'n_words': 198}