Hi this may be in duplicate.  I sent this earlier:

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 Mccrimon
efremmc2


On Wed, Mar 21, 2018 at 2:07 PM, Matthias Bläsing
<[email protected]> wrote:
> Hi Efrem,
>
> Am Mittwoch, den 21.03.2018, 13:21 -0400 schrieb Efrem Mc:
>> 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.
>
> the most current source code is available from github:
>
> https://github.com/apache/incubator-netbeans
>
> and apache:
>
> https://gitbox.apache.org/repos/asf?p=incubator-netbeans.git
>
> If you have a github account, the easiest way is to fork the code, do
> your changes and create a Pull Request from these.
>
> This might help you:
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74681408#SubmittingPullRequestonApacheNetBeans(incubating)-ContributionGuidelines
> https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment
>
> For the change in priority, you should be able to edit it - it is not
> directly obvious, but if you hover over the entry, I get the "edit"
> entry. If that fails, please state so here, then we'll help.
>
> Matthias
>
>
>> 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
>> > >
>
> ---------------------------------------------------------------------
> 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