One Line solution
\n\n# Code\n\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        return (n%2==0)?n:2*n;\n    }\n}\n
\n\n# Code\n```\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        return (n%2==0)?n:2*n;\n    }\n}\n```
['Java']