• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
fix sample code: an ugly error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix sample code: an ugly error


  • Subject: fix sample code: an ugly error
  • From: OC <email@hidden>
  • Date: Fri, 01 Apr 2016 19:20:33 +0200

Darn, I should have copied the actual code, whatever unintelligible it is :(

Forgot the line which encaches new object, and which actually -- far as I understand -- caused the problem:

On 1. 4. 2016, at 19:17, OC <email@hidden> wrote:

> the gist is this:
>
> def theValue() {
>  def val=this.cacheTo1Relationship()
>  if (!val)
>    for (v in this.toNRelationship())
>      if (somecondition) {
>        val=v

        this.setCacheTo1Relationship(v)

>        break
>      }
>  return val
> }


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >an ugly error (From: OC <email@hidden>)

  • Prev by Date: an ugly error
  • Next by Date: Re: Sad news
  • Previous by thread: an ugly error
  • Next by thread: Re: Sad news
  • Index(es):
    • Date
    • Thread