From 1ebb9834dd77973b14928b82a9e8d623ed142ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Ar=C3=A8s?= Date: Fri, 25 Sep 2015 13:31:50 -0400 Subject: [PATCH] Revert "GroupSuggestOracle: Remove unused constructor from GroupInfo inner class" This reverts commit e2e314bd5173e4bbbf4200897cb95ad4345755e0. Without this empty protected constructor, cookbook plugin compilation fails with the following error: Line 78: Constructors must be 'protected' in subclasses of JavaScriptObject Change-Id: Ia72bdcf8ccc2eef95ae49138de72c4956d12993e --- .../com/google/gerrit/plugin/client/ui/GroupSuggestOracle.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gerrit-plugin-gwtui/src/main/java/com/google/gerrit/plugin/client/ui/GroupSuggestOracle.java b/gerrit-plugin-gwtui/src/main/java/com/google/gerrit/plugin/client/ui/GroupSuggestOracle.java index d2df83a623..cd75969afc 100644 --- a/gerrit-plugin-gwtui/src/main/java/com/google/gerrit/plugin/client/ui/GroupSuggestOracle.java +++ b/gerrit-plugin-gwtui/src/main/java/com/google/gerrit/plugin/client/ui/GroupSuggestOracle.java @@ -77,5 +77,8 @@ public class GroupSuggestOracle extends SuggestOracle { private static class GroupInfo extends JavaScriptObject { // Dummy class, does nothing. + + protected GroupInfo() { + } } }