From cef3db9ef210790cb986c47668fd6fd6c0af9a6b Mon Sep 17 00:00:00 2001 From: clay_shooter Date: Sun, 9 Jan 2005 04:10:49 +0000 Subject: [PATCH] clarification on why pointer is public --- com/jacob/com/Dispatch.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/com/jacob/com/Dispatch.java b/com/jacob/com/Dispatch.java index bea8b56..97ebf95 100644 --- a/com/jacob/com/Dispatch.java +++ b/com/jacob/com/Dispatch.java @@ -38,10 +38,9 @@ import java.lang.reflect.Array; public class Dispatch extends JacobObject { /** - * why is this public? - * it could be protected and the Dispatch subclasses could still - * get it. - * This makes it hard to rename this thing + * This is public because Dispatch.cpp knows its name and accesses + * it directly to get the disptach id. You really can't rename + * it or make it private */ public int m_pDispatch; /** program Id passed in by ActiveX components in their constructor */