Andrunevchyn

Recent Posts


Recent Comments


Archives


Categories


Meta


Andriy Andrunevchyn
Author

Andriy Andrunevchyn

[email protected]

@SpringBootTest

Sometimes I hate springboot for different kind of hidden things. You just copy sample with dozens different annotations and then it doesn’t work and you have no any idea  what is wrong ’cause you don’t see any logs about that So shortly – if you try to configure test suite for SpringBoot pay attention [...]

Andriy AndrunevchynAndriy Andrunevchyn

Logback rollover issue

If your rollover config doesn’t work due to unknown reason – read this answer. I didn’t find  why logback cannot rename log , no process locked log file. The easiest way to fix issue just  remove mentioned parameter File  Now my default log file has ugly name like myappname-2018-05-02.0.log instead myappname.log but I [...]

Andriy AndrunevchynAndriy Andrunevchyn

Maven multi-module quickstart

There are few simple steps Create root folder for project Open command line there Execute   You will see long list of available archetypes and question at the end   Choose appropriate number and proceed with instructions Pay attention it could be other value with the time. It was item #250, six years ago. Now for creating child [...]

Andriy AndrunevchynAndriy Andrunevchyn

Eclipse debug mode and MongoDB

I found out interesting thing –  when you debug your app with active connection to Mongo it could cause unexpected issue at least if use spring mongo data What I noticed If you remove all data from collection you will not be able insert any new record to that collection Sometimes getAll method could return list of nulls instead [...]

Andriy AndrunevchynAndriy Andrunevchyn

LeetCode: 2. Add Two Numbers

My first task on LeetCode You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) Output: 7 -> 0 -> 8   and ListNode class [...]

Andriy AndrunevchynAndriy Andrunevchyn