Czar
10/25/2016, 6:22 PMCzar
10/25/2016, 6:22 PMorangy
orangy
Czar
10/25/2016, 6:24 PMorangy
kirillrakhman
10/26/2016, 7:31 PMget
or set
operators?kirillrakhman
10/26/2016, 7:31 PMfoo[bar] = baz
orangy
[
and hit goto definition, but can’t repro it now…
There also was an issue to allow it after closing brace, because there is usually no adjacent identifier to conflict with.orangy
kirillrakhman
10/27/2016, 8:25 AMigor.wojda
11/01/2016, 9:42 AMprintln("name: $name")
yole
11/01/2016, 9:55 AMorangy
dstarcev
11/01/2016, 3:03 PMdata class MyCommand(val param1: Long, val param2: String): Command
@Service
open class MyCommandHandler : CommandHandler<MyCommand> {
override fun handle(command: MyCommand) {
throw UnsupportedOperationException("not implemented")
}
}
dstarcev
11/01/2016, 3:07 PMMyClass
implementing Command
and there is no implementations of CommandHandler<MyClass>
in the code base, suggest an action “generate handler”. Handler’s code is almost the same every time, except few placeholders where MyClass
should be insertedkirillrakhman
11/01/2016, 3:11 PMdstarcev
11/01/2016, 3:12 PMkirillrakhman
11/01/2016, 3:12 PMkirillrakhman
11/01/2016, 3:13 PMdstarcev
11/01/2016, 3:17 PMmathiasbn
11/02/2016, 7:56 AMcode style > kotlin > Wrapping and Braces
to work. [Ctrl]+[Alt]+L only adds spaces
(Our project now officially has to many lines, and this will be the day I fix it (or starts to fix it (if possible)))mathiasbn
11/02/2016, 8:02 AMmathiasbn
11/02/2016, 11:03 AMCzar
11/02/2016, 2:06 PMpublic interface EntityRepository {
<E extends BaseEntity, ID extends Serializable> ID persist(E entity);
}
kotlin use:
val myEntity: MyEntity = ... // MyEntity extends BaseEntity<
entityRepository.persist(myEntity)
error:
Type inference failed: Not enough information to infer parameter ID in fun <E : BaseEntity!, ID : Serializable!> persist(entity: E!): ID!
Please specify it explicitly.
In Java works without problem.kirillrakhman
11/02/2016, 2:11 PMID
iskirillrakhman
11/02/2016, 2:13 PMID
to Serializable
if no information is givenkirillrakhman
11/02/2016, 2:13 PMID
anyway?kirillrakhman
11/02/2016, 2:14 PMSerializable
?Czar
11/02/2016, 2:14 PM