The centre of a minimal nonabelian $p$-subgroup [closed]
Berkovich-Janko do say this, but they have made a leap. In this situation, $G$ is a non-abelian $p$-group of order $>p^4$, and all proper non-abelian subgroups of $G$ have centres of order $p$. Thus if $B$ is minimal non-abelian then $Z(B)$ has order $p$. Now, if $x\in C_G(B)$ then $H=\langle x\rangle\cdot B$ is a non-abelian subgroup and $x\in Z(H)$. But $Z(B)\leq Z(H)$, so $x\in Z(B)$. Thus $C_G(B)\leq B$.