Hi Emilian, what about this?  if I commit locally, how do I build
partial sections?  Or do I need to built the entire package again?

Path relative:
api.visual\src\org\netbeans\api\visual\widget\Widget.java

Code.....

   public final void addChild (Widget child, Object constraint) {
   // Add additional test for null before adding the Child node
   // sem 2018-03-23
 /*
Solution 1:
if (null == child) {  // AssertNull(child)
// true, it is the last
assert child != null;
}
else {
               assert child.parentWidget == null;
     }

OR

Solution 2:
   assert child != null;
   assert child.parentWidget == null;
*/


Please advise,

Efrem

On Wed, Mar 21, 2018 at 1:21 PM, Efrem Mc <[email protected]> wrote:
> Hi, yes I can look at.  I downloaded the source code at
> http://www-eu.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-source.zip
>
> I am not sure if this is the latest?  If not, can you provide a link.
> Please downgrade the Priority to Minor? It stated as Major because it
> was on a Main Menu option that everyone can see.
>
> Please advise,
>
> Efrem McCrimon (efremmc2)
>
>
> On Wed, Mar 21, 2018 at 3:13 AM, Emilian Bold
> <[email protected]> wrote:
>> This does not seem to be a 'Major' priority to me.
>>
>> The assert checks if the node doesn't already have a parent.
>>
>> I guess the sample should be tweaked.
>>
>> @Efrem: do you want to look at the code and suggest a patch?
>>
>> --emi
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>
>> On 20 March 2018 5:53 AM, Efrem Mc <[email protected]> wrote:
>>
>>> Please verify this is bug:
>>>
>>> AssertionError at org.netbeans.api.visual.widget.Widget.addChild
>>>
>>> https://issues.apache.org/jira/browse/NETBEANS-488
>>>
>>> Step to reproduce:
>>>
>>> 1.  Created a new Project- Java Application, provide a new name
>>>
>>>     <MyJavaApplication1>
>>>
>>> 2.  From Project window, Right-click on MyJavaApplication1.java,
>>>
>>>     select Graphical View
>>>
>>> 3.  Error is generated
>>>
>>>     Is this should not be the desire behavior.
>>>
>>>     Regards,
>>>
>>>     Efrem Mc (efremmc2)
>>>
>>>
>>> To unsubscribe, e-mail: [email protected]
>>>
>>> For additional commands, e-mail: [email protected]
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>>
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to