{"action":"created","comment":{"url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/comments/23233015","id":23233015,"diff_hunk":"@@ -0,0 +1,234 @@\n+package ru.ifmo.md.lesson8;\n+\n+import android.app.Activity;\n+import android.app.Fragment;\n+import android.app.LoaderManager;\n+import android.content.Context;\n+import android.content.CursorLoader;\n+import android.content.Loader;\n+import android.database.Cursor;\n+import android.net.Uri;\n+import android.os.Bundle;\n+import android.util.Log;\n+import android.view.LayoutInflater;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.CursorAdapter;\n+import android.widget.ImageView;\n+import android.widget.ListView;\n+import android.widget.SimpleCursorAdapter;\n+import android.widget.TextView;\n+\n+import org.w3c.dom.Text;\n+\n+import java.text.DateFormat;\n+import java.util.Calendar;\n+import java.util.Date;\n+\n+\n+public class WeatherFragment extends Fragment {\n+    private static final String ARG_CITYID = \"cityId\";\n+    private static final String ARG_CITYNAME = \"cityName\";\n+\n+    private int cityId;\n+    private String cityName;\n+\n+    private ListView forecastList;\n+    private View forecastView;\n+\n+    private CursorAdapter adapterNow, adapterForecast;\n+    private MergeAdapter mergeAdapter;\n+\n+    private OnFragmentInteractionListener mListener;\n+\n+    public static WeatherFragment newInstance(int cityId, String cityName) {\n+        WeatherFragment fragment = new WeatherFragment();\n+        Bundle args = new Bundle();\n+        args.putInt(ARG_CITYID, cityId);\n+        args.putString(ARG_CITYNAME, cityName);\n+        fragment.setArguments(args);\n+        return fragment;\n+    }\n+\n+    public WeatherFragment() {}\n+\n+    @Override\n+    public void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        if (getArguments() != null) {\n+            cityId = getArguments().getInt(ARG_CITYID);\n+            cityName = getArguments().getString(ARG_CITYNAME);\n+        } else {\n+            throw new NullPointerException(\"No argument passed to WeatherFragment. Bug?\");\n+        }\n+        mListener.setCityName(cityName);\n+\n+        getLoaderManager().initLoader(1, null, new LoaderManager.LoaderCallbacks<Cursor>() {\n+            @Override\n+            public Loader<Cursor> onCreateLoader(int id, Bundle args) {\n+                return new CursorLoader(getActivity().getApplicationContext(),\n+                        WeatherContentProvider.URI_CITY_DIR.buildUpon().appendPath(cityId + \"\").build(),\n+                        WeatherDatabase.Structure.FULL_WEATHER_PROJECTION,\n+                        null,\n+                        null,\n+                        null\n+                );\n+            }\n+\n+            @Override\n+            public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n+                //((CursorAdapter) forecastList.getAdapter()).swapCursor(data);\n+                adapterForecast.swapCursor(data);\n+            }\n+\n+            @Override\n+            public void onLoaderReset(Loader<Cursor> loader) {\n+\n+            }\n+        });\n+\n+        LoaderManager.LoaderCallbacks<Cursor> myCallbacks = new LoaderManager.LoaderCallbacks<Cursor>() {\n+            @Override\n+            public Loader<Cursor> onCreateLoader(int id, Bundle args) {\n+                return new CursorLoader(getActivity().getApplicationContext(),\n+                        WeatherContentProvider.URI_CITY_DIR,\n+                        WeatherDatabase.Structure.FULL_CITY_PROJECTION,\n+                        WeatherDatabase.Structure.COLUMN_URL + \" = ?\",\n+                        new String[] {\"\" + cityId},\n+                        null\n+                );\n+            }\n+\n+            @Override\n+            public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n+                //onFreshCityData(data);\n+                adapterNow.swapCursor(data);\n+            }\n+\n+            @Override\n+            public void onLoaderReset(Loader<Cursor> loader) {\n+                // nothing\n+            }\n+        } ;\n+\n+        getLoaderManager().initLoader(2, null, myCallbacks);\n+    }\n+\n+    public void onFreshCityData(Cursor cr) {\n+        cr.moveToFirst();\n+        if(cr.isAfterLast())\n+            return;\n+\n+        ImageView iv = (ImageView) forecastView.findViewById(R.id.weatherImage);\n+        iv.setImageResource(WeatherDataUtils.getIconForCode(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_DESCRIPTION)), cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_CLOUDS)), false));\n+\n+        TextView tv = (TextView) forecastView.findViewById(R.id.tempText);\n+        tv.setText(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_TEMPERATURE)) / 10.0f + \" °C\");\n+\n+        tv = (TextView) forecastView.findViewById(R.id.windText);\n+        tv.setText(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_WIND)) / 10.0f + \" m/s \" + WeatherDataUtils.getWindDirByDegs(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_WIND_DIR))));\n+\n+        tv = (TextView) forecastView.findViewById(R.id.pressHumText);\n+        tv.setText(((int) (cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_PRESSURE)) * 0.75d)) + \" mmHg \" + cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_HUMIDITY)) + \"%\");\n+\n+        tv = (TextView) forecastView.findViewById(R.id.weatherSubText);\n+        tv.setText(WeatherDataUtils.getDescriptionForCode(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_DESCRIPTION))));\n+\n+        tv = (TextView) forecastView.findViewById(R.id.weatherDayText);\n+        tv.setText(getActivity().getString(R.string.now));\n+\n+        //mListener.setCityName(cr.getString(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_NAME)));\n+    }\n+\n+    @Override\n+    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n+                             Bundle savedInstanceState) {\n+        View w = inflater.inflate(R.layout.fragment_weather, container, false);\n+        forecastView = w;\n+\n+        forecastList = (ListView) w.findViewById(R.id.forecastList);\n+\n+        adapterNow = new WeatherCursorAdapter(getActivity(), null, 0, true);\n+        adapterForecast = new WeatherCursorAdapter(getActivity(), null, 0, false);\n+        mergeAdapter = new MergeAdapter(adapterNow, adapterForecast);\n+\n+        forecastList.setAdapter(mergeAdapter);\n+\n+        return w;\n+    }\n+\n+    @Override\n+    public void onAttach(Activity activity) {\n+        super.onAttach(activity);\n+        try {\n+            mListener = (OnFragmentInteractionListener) activity;\n+        } catch (ClassCastException e) {\n+            throw new ClassCastException(activity.toString()\n+                    + \" must implement OnFragmentInteractionListener\");\n+        }\n+    }\n+\n+    @Override\n+    public void onDetach() {\n+        super.onDetach();\n+        mListener = null;\n+    }\n+\n+    public interface OnFragmentInteractionListener {\n+        public void setCityName(String cityName);\n+    }\n+\n+    private class WeatherCursorAdapter extends CursorAdapter {\n+\n+        private boolean isNow;\n+\n+        public WeatherCursorAdapter(Context context, Cursor c, int flags, boolean isNow) {\n+            super(context, c, flags);\n+            this.isNow = isNow;\n+        }\n+\n+        @Override\n+        public View newView(Context context, Cursor cr, ViewGroup parent) {\n+            View rv = getActivity().getLayoutInflater().inflate(R.layout.layout_weather_day, parent, false);\n+\n+            bindView(rv, context, cr);\n+\n+            return rv;\n+        }\n+\n+        @Override\n+        public void bindView(View view, Context context, Cursor cr) {\n+            ImageView iv = (ImageView) view.findViewById(R.id.weatherImage);\n+            iv.setImageResource(WeatherDataUtils.getIconForCode(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_DESCRIPTION)), cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_CLOUDS)), false));\n+\n+            TextView tv = (TextView) view.findViewById(R.id.windText);\n+            tv.setText(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_WIND)) / 10.0f + \" m/s \" + WeatherDataUtils.getWindDirByDegs(cr.getInt(cr.getColumnIndex(WeatherDatabase.Structure.COLUMN_WIND_DIR))));","path":"app/src/main/java/ru/ifmo/md/lesson8/WeatherFragment.java","position":205,"original_position":205,"commit_id":"1837c1629071f3950f50bbac3da6b83cb697393f","original_commit_id":"1837c1629071f3950f50bbac3da6b83cb697393f","user":{"login":"thevery","id":99576,"avatar_url":"https://avatars.githubusercontent.com/u/99576?v=3","gravatar_id":"","url":"https://api.github.com/users/thevery","html_url":"https://github.com/thevery","followers_url":"https://api.github.com/users/thevery/followers","following_url":"https://api.github.com/users/thevery/following{/other_user}","gists_url":"https://api.github.com/users/thevery/gists{/gist_id}","starred_url":"https://api.github.com/users/thevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thevery/subscriptions","organizations_url":"https://api.github.com/users/thevery/orgs","repos_url":"https://api.github.com/users/thevery/repos","events_url":"https://api.github.com/users/thevery/events{/privacy}","received_events_url":"https://api.github.com/users/thevery/received_events","type":"User","site_admin":false},"body":"`strings.xml` and `getString(id, args...)` or `String.format()`","created_at":"2015-01-20T16:16:56Z","updated_at":"2015-01-20T16:16:56Z","html_url":"https://github.com/IFMO-MobDev-2014/lesson8/pull/28#discussion_r23233015","pull_request_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/comments/23233015"},"html":{"href":"https://github.com/IFMO-MobDev-2014/lesson8/pull/28#discussion_r23233015"},"pull_request":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28","id":25690027,"html_url":"https://github.com/IFMO-MobDev-2014/lesson8/pull/28","diff_url":"https://github.com/IFMO-MobDev-2014/lesson8/pull/28.diff","patch_url":"https://github.com/IFMO-MobDev-2014/lesson8/pull/28.patch","issue_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues/28","number":28,"state":"open","locked":false,"title":"Кузнецов Николай, 2539 - третья часть","user":{"login":"knah","id":4705494,"avatar_url":"https://avatars.githubusercontent.com/u/4705494?v=3","gravatar_id":"","url":"https://api.github.com/users/knah","html_url":"https://github.com/knah","followers_url":"https://api.github.com/users/knah/followers","following_url":"https://api.github.com/users/knah/following{/other_user}","gists_url":"https://api.github.com/users/knah/gists{/gist_id}","starred_url":"https://api.github.com/users/knah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knah/subscriptions","organizations_url":"https://api.github.com/users/knah/orgs","repos_url":"https://api.github.com/users/knah/repos","events_url":"https://api.github.com/users/knah/events{/privacy}","received_events_url":"https://api.github.com/users/knah/received_events","type":"User","site_admin":false},"body":"Next revision of \"great\" weather app.\r\nAdditions:\r\n - Addition and removal of cities\r\n - Auto-update every hour (current weather _does_ change that often)\r\n - Weather for current location. It has no idea where you are, but it has good forecasts\r\n - Horizontal orientation support. Not that I needed to do anything for it, I decided to fix navigation drawer open to do something\r\n\r\nFixes:\r\n - Current weather now scrolls with the forecast. Otherwise, it doesn't look nice in horizontal orientation on smaller phones.\r\n - No longer displays as \"MainActivity\" in launcher. Displays as Weather3. I can't think of any creative name.\r\n\r\nWhat's bad:\r\n - Design\r\n - OpenWeatherMap city search - can't help it","created_at":"2014-12-08T19:26:34Z","updated_at":"2015-01-20T16:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a9f7a50c6a462d321b6ae088f2a8b7d88ccb5ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28/commits","review_comments_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28/comments","review_comment_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/comments/{number}","comments_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues/28/comments","statuses_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/statuses/1837c1629071f3950f50bbac3da6b83cb697393f","head":{"label":"knah:lesson10","ref":"lesson10","sha":"1837c1629071f3950f50bbac3da6b83cb697393f","user":{"login":"knah","id":4705494,"avatar_url":"https://avatars.githubusercontent.com/u/4705494?v=3","gravatar_id":"","url":"https://api.github.com/users/knah","html_url":"https://github.com/knah","followers_url":"https://api.github.com/users/knah/followers","following_url":"https://api.github.com/users/knah/following{/other_user}","gists_url":"https://api.github.com/users/knah/gists{/gist_id}","starred_url":"https://api.github.com/users/knah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knah/subscriptions","organizations_url":"https://api.github.com/users/knah/orgs","repos_url":"https://api.github.com/users/knah/repos","events_url":"https://api.github.com/users/knah/events{/privacy}","received_events_url":"https://api.github.com/users/knah/received_events","type":"User","site_admin":false},"repo":{"id":27085563,"name":"lesson8","full_name":"knah/lesson8","owner":{"login":"knah","id":4705494,"avatar_url":"https://avatars.githubusercontent.com/u/4705494?v=3","gravatar_id":"","url":"https://api.github.com/users/knah","html_url":"https://github.com/knah","followers_url":"https://api.github.com/users/knah/followers","following_url":"https://api.github.com/users/knah/following{/other_user}","gists_url":"https://api.github.com/users/knah/gists{/gist_id}","starred_url":"https://api.github.com/users/knah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knah/subscriptions","organizations_url":"https://api.github.com/users/knah/orgs","repos_url":"https://api.github.com/users/knah/repos","events_url":"https://api.github.com/users/knah/events{/privacy}","received_events_url":"https://api.github.com/users/knah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knah/lesson8","description":"","fork":true,"url":"https://api.github.com/repos/knah/lesson8","forks_url":"https://api.github.com/repos/knah/lesson8/forks","keys_url":"https://api.github.com/repos/knah/lesson8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knah/lesson8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knah/lesson8/teams","hooks_url":"https://api.github.com/repos/knah/lesson8/hooks","issue_events_url":"https://api.github.com/repos/knah/lesson8/issues/events{/number}","events_url":"https://api.github.com/repos/knah/lesson8/events","assignees_url":"https://api.github.com/repos/knah/lesson8/assignees{/user}","branches_url":"https://api.github.com/repos/knah/lesson8/branches{/branch}","tags_url":"https://api.github.com/repos/knah/lesson8/tags","blobs_url":"https://api.github.com/repos/knah/lesson8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knah/lesson8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knah/lesson8/git/refs{/sha}","trees_url":"https://api.github.com/repos/knah/lesson8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knah/lesson8/statuses/{sha}","languages_url":"https://api.github.com/repos/knah/lesson8/languages","stargazers_url":"https://api.github.com/repos/knah/lesson8/stargazers","contributors_url":"https://api.github.com/repos/knah/lesson8/contributors","subscribers_url":"https://api.github.com/repos/knah/lesson8/subscribers","subscription_url":"https://api.github.com/repos/knah/lesson8/subscription","commits_url":"https://api.github.com/repos/knah/lesson8/commits{/sha}","git_commits_url":"https://api.github.com/repos/knah/lesson8/git/commits{/sha}","comments_url":"https://api.github.com/repos/knah/lesson8/comments{/number}","issue_comment_url":"https://api.github.com/repos/knah/lesson8/issues/comments/{number}","contents_url":"https://api.github.com/repos/knah/lesson8/contents/{+path}","compare_url":"https://api.github.com/repos/knah/lesson8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knah/lesson8/merges","archive_url":"https://api.github.com/repos/knah/lesson8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knah/lesson8/downloads","issues_url":"https://api.github.com/repos/knah/lesson8/issues{/number}","pulls_url":"https://api.github.com/repos/knah/lesson8/pulls{/number}","milestones_url":"https://api.github.com/repos/knah/lesson8/milestones{/number}","notifications_url":"https://api.github.com/repos/knah/lesson8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knah/lesson8/labels{/name}","releases_url":"https://api.github.com/repos/knah/lesson8/releases{/id}","created_at":"2014-11-24T17:04:30Z","updated_at":"2014-12-01T20:55:15Z","pushed_at":"2014-12-08T19:18:55Z","git_url":"git://github.com/knah/lesson8.git","ssh_url":"git@github.com:knah/lesson8.git","clone_url":"https://github.com/knah/lesson8.git","svn_url":"https://github.com/knah/lesson8","homepage":null,"size":1319,"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":"IFMO-MobDev-2014:master","ref":"master","sha":"108a0745cc1f02a3198b6ddf0adfba6962a24a26","user":{"login":"IFMO-MobDev-2014","id":8738407,"avatar_url":"https://avatars.githubusercontent.com/u/8738407?v=3","gravatar_id":"","url":"https://api.github.com/users/IFMO-MobDev-2014","html_url":"https://github.com/IFMO-MobDev-2014","followers_url":"https://api.github.com/users/IFMO-MobDev-2014/followers","following_url":"https://api.github.com/users/IFMO-MobDev-2014/following{/other_user}","gists_url":"https://api.github.com/users/IFMO-MobDev-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/IFMO-MobDev-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IFMO-MobDev-2014/subscriptions","organizations_url":"https://api.github.com/users/IFMO-MobDev-2014/orgs","repos_url":"https://api.github.com/users/IFMO-MobDev-2014/repos","events_url":"https://api.github.com/users/IFMO-MobDev-2014/events{/privacy}","received_events_url":"https://api.github.com/users/IFMO-MobDev-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":27033654,"name":"lesson8","full_name":"IFMO-MobDev-2014/lesson8","owner":{"login":"IFMO-MobDev-2014","id":8738407,"avatar_url":"https://avatars.githubusercontent.com/u/8738407?v=3","gravatar_id":"","url":"https://api.github.com/users/IFMO-MobDev-2014","html_url":"https://github.com/IFMO-MobDev-2014","followers_url":"https://api.github.com/users/IFMO-MobDev-2014/followers","following_url":"https://api.github.com/users/IFMO-MobDev-2014/following{/other_user}","gists_url":"https://api.github.com/users/IFMO-MobDev-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/IFMO-MobDev-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IFMO-MobDev-2014/subscriptions","organizations_url":"https://api.github.com/users/IFMO-MobDev-2014/orgs","repos_url":"https://api.github.com/users/IFMO-MobDev-2014/repos","events_url":"https://api.github.com/users/IFMO-MobDev-2014/events{/privacy}","received_events_url":"https://api.github.com/users/IFMO-MobDev-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IFMO-MobDev-2014/lesson8","description":"","fork":false,"url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8","forks_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/forks","keys_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/teams","hooks_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/hooks","issue_events_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues/events{/number}","events_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/events","assignees_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/assignees{/user}","branches_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/branches{/branch}","tags_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/tags","blobs_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/git/refs{/sha}","trees_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/statuses/{sha}","languages_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/languages","stargazers_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/stargazers","contributors_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/contributors","subscribers_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/subscribers","subscription_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/subscription","commits_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/commits{/sha}","git_commits_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/git/commits{/sha}","comments_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/comments{/number}","issue_comment_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues/comments/{number}","contents_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/contents/{+path}","compare_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/merges","archive_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/downloads","issues_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues{/number}","pulls_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls{/number}","milestones_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/milestones{/number}","notifications_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/labels{/name}","releases_url":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/releases{/id}","created_at":"2014-11-23T13:42:50Z","updated_at":"2014-11-23T14:07:36Z","pushed_at":"2014-11-23T14:07:36Z","git_url":"git://github.com/IFMO-MobDev-2014/lesson8.git","ssh_url":"git@github.com:IFMO-MobDev-2014/lesson8.git","clone_url":"https://github.com/IFMO-MobDev-2014/lesson8.git","svn_url":"https://github.com/IFMO-MobDev-2014/lesson8","homepage":null,"size":4923,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":28,"forks":56,"open_issues":28,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28"},"html":{"href":"https://github.com/IFMO-MobDev-2014/lesson8/pull/28"},"issue":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues/28"},"comments":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/lesson8/statuses/1837c1629071f3950f50bbac3da6b83cb697393f"}}}}