{"action":"created","comment":{"url":"https://api.github.com/repos/PCGen/pcgen/pulls/comments/77549034","id":77549034,"diff_hunk":"@@ -0,0 +1,54 @@\n+/*\n+ * PlayerCharacterUtilities.java\n+ *\n+ * This library is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU Lesser General Public\n+ * License as published by the Free Software Foundation; either\n+ * version 2.1 of the License, or (at your option) any later version.\n+ *\n+ * This library is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public\n+ * License along with this library; if not, write to the Free Software\n+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n+ *\n+ * Current Version: $Revision$\n+ * Copyright 2005 Andrew Wilson <nuance@sourceforge.net>\n+ * Class created by migrating code from PlayerCharacter\n+ * Copyright 2001 (C) Bryan McRoberts <merton_monk@yahoo.com>\n+ */\n+package pcgen.core;\n+\n+\n+import java.math.BigDecimal;\n+\n+import pcgen.cdom.enumeration.ObjectKey;\n+\n+/**\n+ * Utilities class for PlayerCharacter.  Holds various static methods.\n+ *\n+ * @author  Andrew Wilson &lt;nuance@sourceforge.net&gt;\n+ */\n+public class PlayerCharacterUtilities\n+{\n+\t/**\n+\t * Set the Weapon proficiency of one piece of Equipment to the same as the\n+\t * Proficiency in another piece of Equipment.  For some bizarre reason, as\n+\t * well as setting the proficiency,  this zeros out the Weight and cost of\n+\t * the equipment.\n+\t *\n+\t * @param  equip  the Weapon to get the proficiency from\n+\t * @param  eqm    the weapon to set the proficiency in\n+\t */\n+\tstatic void setProf(final Equipment equip, final Equipment eqm)\n+\t{\n+\t\teqm.put(ObjectKey.WEAPON_PROF, equip.get(ObjectKey.WEAPON_PROF));\n+\t\t// In case this is used somewhere it shouldn't be used,\n+\t\t// set weight and cost to 0\n+\t\teqm.put(ObjectKey.WEIGHT, BigDecimal.ZERO);\n+\t\teqm.put(ObjectKey.CURRENT_COST, BigDecimal.ZERO);\n+\t}\n+}","path":"code/src/java/pcgen/core/PlayerCharacterUtilities.java","position":54,"original_position":54,"commit_id":"ed4981da5e41c893852ddd6211f3743a65b55ac6","original_commit_id":"ed4981da5e41c893852ddd6211f3743a65b55ac6","user":{"login":"cpmeister","id":1217471,"avatar_url":"https://avatars.githubusercontent.com/u/1217471?v=3","gravatar_id":"","url":"https://api.github.com/users/cpmeister","html_url":"https://github.com/cpmeister","followers_url":"https://api.github.com/users/cpmeister/followers","following_url":"https://api.github.com/users/cpmeister/following{/other_user}","gists_url":"https://api.github.com/users/cpmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/cpmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpmeister/subscriptions","organizations_url":"https://api.github.com/users/cpmeister/orgs","repos_url":"https://api.github.com/users/cpmeister/repos","events_url":"https://api.github.com/users/cpmeister/events{/privacy}","received_events_url":"https://api.github.com/users/cpmeister/received_events","type":"User","site_admin":false},"body":"This doesn't belong in this PR","created_at":"2016-09-05T18:15:03Z","updated_at":"2016-09-05T18:15:03Z","html_url":"https://github.com/PCGen/pcgen/pull/1559#discussion_r77549034","pull_request_url":"https://api.github.com/repos/PCGen/pcgen/pulls/1559","_links":{"self":{"href":"https://api.github.com/repos/PCGen/pcgen/pulls/comments/77549034"},"html":{"href":"https://github.com/PCGen/pcgen/pull/1559#discussion_r77549034"},"pull_request":{"href":"https://api.github.com/repos/PCGen/pcgen/pulls/1559"}}},"pull_request":{"url":"https://api.github.com/repos/PCGen/pcgen/pulls/1559","id":83886928,"html_url":"https://github.com/PCGen/pcgen/pull/1559","diff_url":"https://github.com/PCGen/pcgen/pull/1559.diff","patch_url":"https://github.com/PCGen/pcgen/pull/1559.patch","issue_url":"https://api.github.com/repos/PCGen/pcgen/issues/1559","number":1559,"state":"open","locked":false,"title":"remove javadocs that only make sense with svn keywords","user":{"login":"grimreaper","id":433817,"avatar_url":"https://avatars.githubusercontent.com/u/433817?v=3","gravatar_id":"","url":"https://api.github.com/users/grimreaper","html_url":"https://github.com/grimreaper","followers_url":"https://api.github.com/users/grimreaper/followers","following_url":"https://api.github.com/users/grimreaper/following{/other_user}","gists_url":"https://api.github.com/users/grimreaper/gists{/gist_id}","starred_url":"https://api.github.com/users/grimreaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimreaper/subscriptions","organizations_url":"https://api.github.com/users/grimreaper/orgs","repos_url":"https://api.github.com/users/grimreaper/repos","events_url":"https://api.github.com/users/grimreaper/events{/privacy}","received_events_url":"https://api.github.com/users/grimreaper/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-03T05:40:47Z","updated_at":"2016-09-05T18:15:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e5cb5e3703c78289f3ab6690b783c055d6a5bb3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PCGen/pcgen/pulls/1559/commits","review_comments_url":"https://api.github.com/repos/PCGen/pcgen/pulls/1559/comments","review_comment_url":"https://api.github.com/repos/PCGen/pcgen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PCGen/pcgen/issues/1559/comments","statuses_url":"https://api.github.com/repos/PCGen/pcgen/statuses/ed4981da5e41c893852ddd6211f3743a65b55ac6","head":{"label":"grimreaper:eax/remove-version","ref":"eax/remove-version","sha":"ed4981da5e41c893852ddd6211f3743a65b55ac6","user":{"login":"grimreaper","id":433817,"avatar_url":"https://avatars.githubusercontent.com/u/433817?v=3","gravatar_id":"","url":"https://api.github.com/users/grimreaper","html_url":"https://github.com/grimreaper","followers_url":"https://api.github.com/users/grimreaper/followers","following_url":"https://api.github.com/users/grimreaper/following{/other_user}","gists_url":"https://api.github.com/users/grimreaper/gists{/gist_id}","starred_url":"https://api.github.com/users/grimreaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimreaper/subscriptions","organizations_url":"https://api.github.com/users/grimreaper/orgs","repos_url":"https://api.github.com/users/grimreaper/repos","events_url":"https://api.github.com/users/grimreaper/events{/privacy}","received_events_url":"https://api.github.com/users/grimreaper/received_events","type":"User","site_admin":false},"repo":{"id":43053313,"name":"pcgen","full_name":"grimreaper/pcgen","owner":{"login":"grimreaper","id":433817,"avatar_url":"https://avatars.githubusercontent.com/u/433817?v=3","gravatar_id":"","url":"https://api.github.com/users/grimreaper","html_url":"https://github.com/grimreaper","followers_url":"https://api.github.com/users/grimreaper/followers","following_url":"https://api.github.com/users/grimreaper/following{/other_user}","gists_url":"https://api.github.com/users/grimreaper/gists{/gist_id}","starred_url":"https://api.github.com/users/grimreaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimreaper/subscriptions","organizations_url":"https://api.github.com/users/grimreaper/orgs","repos_url":"https://api.github.com/users/grimreaper/repos","events_url":"https://api.github.com/users/grimreaper/events{/privacy}","received_events_url":"https://api.github.com/users/grimreaper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grimreaper/pcgen","description":"Main code and data development for pcgen program release","fork":true,"url":"https://api.github.com/repos/grimreaper/pcgen","forks_url":"https://api.github.com/repos/grimreaper/pcgen/forks","keys_url":"https://api.github.com/repos/grimreaper/pcgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grimreaper/pcgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grimreaper/pcgen/teams","hooks_url":"https://api.github.com/repos/grimreaper/pcgen/hooks","issue_events_url":"https://api.github.com/repos/grimreaper/pcgen/issues/events{/number}","events_url":"https://api.github.com/repos/grimreaper/pcgen/events","assignees_url":"https://api.github.com/repos/grimreaper/pcgen/assignees{/user}","branches_url":"https://api.github.com/repos/grimreaper/pcgen/branches{/branch}","tags_url":"https://api.github.com/repos/grimreaper/pcgen/tags","blobs_url":"https://api.github.com/repos/grimreaper/pcgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grimreaper/pcgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grimreaper/pcgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/grimreaper/pcgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grimreaper/pcgen/statuses/{sha}","languages_url":"https://api.github.com/repos/grimreaper/pcgen/languages","stargazers_url":"https://api.github.com/repos/grimreaper/pcgen/stargazers","contributors_url":"https://api.github.com/repos/grimreaper/pcgen/contributors","subscribers_url":"https://api.github.com/repos/grimreaper/pcgen/subscribers","subscription_url":"https://api.github.com/repos/grimreaper/pcgen/subscription","commits_url":"https://api.github.com/repos/grimreaper/pcgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/grimreaper/pcgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/grimreaper/pcgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/grimreaper/pcgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/grimreaper/pcgen/contents/{+path}","compare_url":"https://api.github.com/repos/grimreaper/pcgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grimreaper/pcgen/merges","archive_url":"https://api.github.com/repos/grimreaper/pcgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grimreaper/pcgen/downloads","issues_url":"https://api.github.com/repos/grimreaper/pcgen/issues{/number}","pulls_url":"https://api.github.com/repos/grimreaper/pcgen/pulls{/number}","milestones_url":"https://api.github.com/repos/grimreaper/pcgen/milestones{/number}","notifications_url":"https://api.github.com/repos/grimreaper/pcgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grimreaper/pcgen/labels{/name}","releases_url":"https://api.github.com/repos/grimreaper/pcgen/releases{/id}","deployments_url":"https://api.github.com/repos/grimreaper/pcgen/deployments","created_at":"2015-09-24T08:01:43Z","updated_at":"2016-08-26T10:41:32Z","pushed_at":"2016-09-05T15:29:55Z","git_url":"git://github.com/grimreaper/pcgen.git","ssh_url":"git@github.com:grimreaper/pcgen.git","clone_url":"https://github.com/grimreaper/pcgen.git","svn_url":"https://github.com/grimreaper/pcgen","homepage":"http://pcgen.org","size":229837,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PCGen:master","ref":"master","sha":"4ce5987c31f6cad829803c20b23891329f5c4d49","user":{"login":"PCGen","id":2158677,"avatar_url":"https://avatars.githubusercontent.com/u/2158677?v=3","gravatar_id":"","url":"https://api.github.com/users/PCGen","html_url":"https://github.com/PCGen","followers_url":"https://api.github.com/users/PCGen/followers","following_url":"https://api.github.com/users/PCGen/following{/other_user}","gists_url":"https://api.github.com/users/PCGen/gists{/gist_id}","starred_url":"https://api.github.com/users/PCGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PCGen/subscriptions","organizations_url":"https://api.github.com/users/PCGen/orgs","repos_url":"https://api.github.com/users/PCGen/repos","events_url":"https://api.github.com/users/PCGen/events{/privacy}","received_events_url":"https://api.github.com/users/PCGen/received_events","type":"Organization","site_admin":false},"repo":{"id":28585874,"name":"pcgen","full_name":"PCGen/pcgen","owner":{"login":"PCGen","id":2158677,"avatar_url":"https://avatars.githubusercontent.com/u/2158677?v=3","gravatar_id":"","url":"https://api.github.com/users/PCGen","html_url":"https://github.com/PCGen","followers_url":"https://api.github.com/users/PCGen/followers","following_url":"https://api.github.com/users/PCGen/following{/other_user}","gists_url":"https://api.github.com/users/PCGen/gists{/gist_id}","starred_url":"https://api.github.com/users/PCGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PCGen/subscriptions","organizations_url":"https://api.github.com/users/PCGen/orgs","repos_url":"https://api.github.com/users/PCGen/repos","events_url":"https://api.github.com/users/PCGen/events{/privacy}","received_events_url":"https://api.github.com/users/PCGen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PCGen/pcgen","description":"Main code and data development for pcgen program release","fork":false,"url":"https://api.github.com/repos/PCGen/pcgen","forks_url":"https://api.github.com/repos/PCGen/pcgen/forks","keys_url":"https://api.github.com/repos/PCGen/pcgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PCGen/pcgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PCGen/pcgen/teams","hooks_url":"https://api.github.com/repos/PCGen/pcgen/hooks","issue_events_url":"https://api.github.com/repos/PCGen/pcgen/issues/events{/number}","events_url":"https://api.github.com/repos/PCGen/pcgen/events","assignees_url":"https://api.github.com/repos/PCGen/pcgen/assignees{/user}","branches_url":"https://api.github.com/repos/PCGen/pcgen/branches{/branch}","tags_url":"https://api.github.com/repos/PCGen/pcgen/tags","blobs_url":"https://api.github.com/repos/PCGen/pcgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PCGen/pcgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PCGen/pcgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/PCGen/pcgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PCGen/pcgen/statuses/{sha}","languages_url":"https://api.github.com/repos/PCGen/pcgen/languages","stargazers_url":"https://api.github.com/repos/PCGen/pcgen/stargazers","contributors_url":"https://api.github.com/repos/PCGen/pcgen/contributors","subscribers_url":"https://api.github.com/repos/PCGen/pcgen/subscribers","subscription_url":"https://api.github.com/repos/PCGen/pcgen/subscription","commits_url":"https://api.github.com/repos/PCGen/pcgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/PCGen/pcgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/PCGen/pcgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/PCGen/pcgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/PCGen/pcgen/contents/{+path}","compare_url":"https://api.github.com/repos/PCGen/pcgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PCGen/pcgen/merges","archive_url":"https://api.github.com/repos/PCGen/pcgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PCGen/pcgen/downloads","issues_url":"https://api.github.com/repos/PCGen/pcgen/issues{/number}","pulls_url":"https://api.github.com/repos/PCGen/pcgen/pulls{/number}","milestones_url":"https://api.github.com/repos/PCGen/pcgen/milestones{/number}","notifications_url":"https://api.github.com/repos/PCGen/pcgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PCGen/pcgen/labels{/name}","releases_url":"https://api.github.com/repos/PCGen/pcgen/releases{/id}","deployments_url":"https://api.github.com/repos/PCGen/pcgen/deployments","created_at":"2014-12-29T08:41:04Z","updated_at":"2016-08-28T18:56:10Z","pushed_at":"2016-09-05T17:42:49Z","git_url":"git://github.com/PCGen/pcgen.git","ssh_url":"git@github.com:PCGen/pcgen.git","clone_url":"https://github.com/PCGen/pcgen.git","svn_url":"https://github.com/PCGen/pcgen","homepage":"http://pcgen.org","size":239664,"stargazers_count":65,"watchers_count":65,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":11,"forks":81,"open_issues":11,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PCGen/pcgen/pulls/1559"},"html":{"href":"https://github.com/PCGen/pcgen/pull/1559"},"issue":{"href":"https://api.github.com/repos/PCGen/pcgen/issues/1559"},"comments":{"href":"https://api.github.com/repos/PCGen/pcgen/issues/1559/comments"},"review_comments":{"href":"https://api.github.com/repos/PCGen/pcgen/pulls/1559/comments"},"review_comment":{"href":"https://api.github.com/repos/PCGen/pcgen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PCGen/pcgen/pulls/1559/commits"},"statuses":{"href":"https://api.github.com/repos/PCGen/pcgen/statuses/ed4981da5e41c893852ddd6211f3743a65b55ac6"}}}}
{"actor":{"display_login":"cpmeister"}}