package com.github.aureliano.achmed.os;

import com.github.aureliano.achmed.os.pkg.IPackageManager;
import com.github.aureliano.achmed.os.pkg.PackageManagerFactory;
import com.github.aureliano.achmed.types.OperatingSystemFamily;
import com.github.aureliano.achmed.types.PackageProvider;

public class CentOS extends Linux {

	private IPackageManager packageManager;
	
	public CentOS() {
		this.packageManager = PackageManagerFactory.createPackageManager(PackageProvider.YUM);
	}

	public IPackageManager getDefaultPackageManager() {
		return this.packageManager;
	}

	public OperatingSystemFamily getOperatingSystemFamily() {
		return OperatingSystemFamily.RED_HAT;
	}
}
@@ -73,493 +73,105 @@
 med.
-os.pkg.IPackageManager;%0Aimport com.github.aureliano.achmed.os.pkg.PackageManagerFactory;%0Aimport com.github.aureliano.achmed.types.OperatingSystemFamily;%0Aimport com.github.aureliano.achmed.types.PackageProvider;%0A%0Apublic class CentOS extends Linux %7B%0A%0A%09private IPackageManager packageManager;%0A%09%0A%09public CentOS() %7B%0A%09%09this.packageManager = PackageManagerFactory.createPackageManager(PackageProvider.YUM);%0A%09%7D%0A%0A%09public IPackageManager getDefaultPackageManager() %7B%0A%09%09return this.packageManager
+types.OperatingSystemFamily;%0A%0Apublic class CentOS extends RedHat %7B%0A%09%0A%09public CentOS() %7B%0A%09%09super()
 ;%0A%09%7D

Make CentOS extend Red Hat.