{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/639","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/639/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/639/events","html_url":"https://github.com/tbeu/Modelica/issues/639","id":195174112,"number":639,"title":"Use of protected classes in MSL","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":499441885,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":499453872,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20normal","name":"P: normal","color":"aa8888","default":false},{"id":499453173,"url":"https://api.github.com/repos/tbeu/Modelica/labels/Utilities","name":"Utilities","color":"0000aa","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/1","html_url":"https://github.com/tbeu/Modelica/milestone/1","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/1/labels","id":2191846,"number":1,"title":"*undecided*","description":"''Tickets that haven't yet been scheduled for a particular release.''","creator":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2016-12-12T19:04:43Z","updated_at":"2016-12-13T06:36:53Z","due_on":"1969-12-31T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-12-13T06:36:53Z","updated_at":"2016-12-13T06:37:02Z","closed_at":null,"body":"**Reported by hansolsson on 14 Nov 2011 15:12 UTC**\nSection 4.1 in the Modelica specification states:\r\n\"Protected elements in classes cannot be accessed via dot notation.\"\r\nHowever, this is not followed in MSL 3.2, and the problems are still present in the trunk-version.\r\n\r\nThis ticket is for Modelica.Utilities (will make another ticket for Modelica.Media).\r\n\r\nThe package FileSystem is protected and accessed using  Modelica.Utilities.Internal.FileSystem\r\nin the following classes:\r\n\r\nModelica.Utilities.Files.list\r\nModelica.Utilities.Files.copy\r\nModelica.Utilities.Files.move\r\nModelica.Utilities.Files.remove\r\nModelica.Utilities.Files.removeFile\r\nModelica.Utilities.Files.createDirectory\r\nModelica.Utilities.Files.exist\r\nModelica.Utilities.Files.assertNew\r\n\r\nThere are two possible simple solutions:\r\nMove FileSystem to under Modelica.Utilities.Files and replace Modelica.Utilities.Internal.FileSystem.xyz by FileSystem.xyz (possibly also renaming FileSystem).\r\nMake FileSystem public.\r\n\r\nThe first solution would create Modelica.Utilities.Internal with one  member, which looks kind of odd.\r\nThe second solution opens up for users directly accessing the internal implementations; hopefully that will not be the case since the intent of the ones in Modelica.Utilities.Files are that they should be more convenient to use.\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/639"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/266659171","html_url":"https://github.com/tbeu/Modelica/issues/639#issuecomment-266659171","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/639","id":266659171,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T06:37:02Z","updated_at":"2016-12-13T06:37:02Z","body":"**Modified by dietmarw on 15 Nov 2011 06:49 UTC**"}}
{"actor":{"display_login":"modelica-trac-importer"}}