Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a static method to read the props from yaml file #8

Merged
merged 3 commits into from
Dec 26, 2017

Conversation

shridharkalagi
Copy link
Contributor

Read the file once and use it everywhere. Also file reading is limited to a single class now

@@ -0,0 +1,46 @@
package com.nakal.utils;

import org.yaml.snakeyaml.Yaml;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where did we get this from? I don't any dependencies been added here. Is it internal dep of something else.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

snakeyaml dependency is already part of project

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh cool

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be merged?

@saikrishna321 saikrishna321 merged commit 9058dde into saikrishna321:master Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants