This patch modifies two functions and changes their access level modifiers
to public, similar to the other functions in the class. This gives access to
delete a project outside of that class.
-Jeff
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is
available at http://www.merck.com/contact/contacts.html) that may be
confidential, proprietary copyrighted and/or legally privileged. It is
intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please notify us immediately by reply e-mail and then
delete it from your system.
------------------------------------------------------------------------------
Index: Project.java
===================================================================
--- Project.java (revision 437691)
+++ Project.java (working copy)
@@ -413,7 +413,7 @@
return p;
}
- static boolean delete(Collection<Project> c) throws SQLException {
+ public static boolean delete(Collection<Project> c) throws SQLException {
boolean ret = true;
if (c != null) {
for (final Project p : c) {
@@ -426,7 +426,7 @@
return ret;
}
- static boolean delete(Project p) throws SQLException {
+ public static boolean delete(Project p) throws SQLException {
return broker.delete("core.project.delete", p.getPk());
}