[sip-comm-dev] cvs repository


#1

Hi devs,

i would like to remove everything that is in my sc-project repository on
dev.java.net.
I tried several ways to do it such as removing all files from directories,
which should make the directories (now empty) disappear on the cvs
repository.
But it seems no to work i don't know why. I can't even commit or update due
to conflicts...
Sorry it's not a very interesting question...

Other question: I saw , in the main class of a library i use, methods that
have arguments of a type which is an interface, how is it possible ? I
thought it was impossible since an interface can't be instanciated.

thx
JD


#2

Hi JD,

Other question: I saw , in the main class of a library i use, methods that have arguments of a type which is an interface, how is it possible ? I thought it was impossible since an interface can't be instanciated.

It is effectively impossible to instanciate an interface BUT it is possible to create a class which implement an interface (fortunately for us).
So the real meaning of setting an interface as an argument type isn't "give me something which is an interface" but "give me something which implement this interface".

Hope that helps,
Ben

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hey Ben !

Thanks for the answer, I wasn't aware of that !
Sounds interesting !

Hoping to make another scrabble game with you soon. I'm kidding lol

Jean-Daniel

···

2007/5/1, Benoit Pradelle <ze_real_neo@yahoo.fr>:

Hi JD,
> Other question: I saw , in the main class of a library i use, methods
> that have arguments of a type which is an interface, how is it
> possible ? I thought it was impossible since an interface can't be
> instanciated.
It is effectively impossible to instanciate an interface BUT it is
possible to create a class which implement an interface (fortunately for
us).
So the real meaning of setting an interface as an argument type isn't
"give me something which is an interface" but "give me something which
implement this interface".

Hope that helps,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net