- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {BufferedReader b =
InputStream in;new BufferedReader(new InputStreamReader(in))
Reader in;new BufferedReader(in)
File file;new BufferedReader(new FileReader(file))
- Smart code suggestions by Codota
}
@GET @Produces("text/html") @Path(value = "studio") public Object getStudio() { PackageManager pm = Framework.getService(PackageManager.class); List<DownloadablePackage> pkgs = pm.listAllStudioRemoteOrLocalPackages(); List<DownloadablePackage> pkgsWithoutSnapshot = StudioSnapshotHelper.removeSnapshot(pkgs); return getView("simpleListing").arg("pkgs", pm.sort(pkgsWithoutSnapshot)) .arg("showCommunityInfo", false) .arg("source", "studio"); }
@GET @Produces("text/html") @Path(value = "studio") public Object getStudio() { PackageManager pm = Framework.getLocalService(PackageManager.class); List<DownloadablePackage> pkgs = pm.listAllStudioRemoteOrLocalPackages(); List<DownloadablePackage> pkgsWithoutSnapshot = StudioSnapshotHelper.removeSnapshot(pkgs); return getView("simpleListing").arg("pkgs", pm.sort(pkgsWithoutSnapshot)).arg("showCommunityInfo", false).arg( "source", "studio"); }