tATAmI-Project / tATAmI-PC

towards Agent Technology for Ambient Intelligence
http://tatami-project.github.com/tATAmI-PC
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Fix platform naming ambiguities #5

Open andreiolaru-ro opened 9 years ago

andreiolaru-ro commented 9 years ago

Loading of standard platforms gets names from the enum, but platforms may not override getName ().

Scenario: LocalPlatform does no override getName so it reports as being called default, but it is registered in Boot as local.

andreiolaru-ro commented 9 years ago
andreiolaru-ro commented 9 years ago

Fixing: exception should be thrown, at platform loading, if platform name is not the same with name in the enum.