Skip to content

QRcode generator#3

Open
Miro60cent wants to merge 4 commits intoMaksymKalennyk:masterfrom
Miro60cent:master
Open

QRcode generator#3
Miro60cent wants to merge 4 commits intoMaksymKalennyk:masterfrom
Miro60cent:master

Conversation

@Miro60cent
Copy link

No description provided.

Copy link
Author

@Miro60cent Miro60cent left a comment

Choose a reason for hiding this comment

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

1

Comment on lines +13 to +14
System.out.println("Qr good");
return 0;
Copy link
Owner

Choose a reason for hiding this comment

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

вывод не нужен + что это за возвращение 0

Copy link
Author

Choose a reason for hiding this comment

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

зробив

Comment on lines +11 to +14
public class GenerateQRCode {
public static void main(String[] args) throws WriterException, IOException {
String data="vova ukrainets 2";
String path="/Users/volodimirukrainec/Desktop/qr/qr.jpg";
BitMatrix matrix = new MultiFormatWriter().encode(data,BarcodeFormat.QR_CODE,500,500);

public static void main(String[] args) {
String data = "Kalennyk Maks 3";
String path = "/Users/volodimirukrainec/Desktop/qr/qr.jpg";
Copy link
Owner

Choose a reason for hiding this comment

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

Этот класс у тебя чисто для проверки и он не нужен в этом пуллреквесте

Copy link
Author

Choose a reason for hiding this comment

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

для перевірки роботи класа? звідси ж береться інфа для кода і плебс де буде зберігатися картинка. я так розумію його видалити і потім вже додати бд відразу? чи що ти хоч побачити?

Copy link
Author

Choose a reason for hiding this comment

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

зрозумів

Comment on lines +8 to +9
import java.nio.file.Paths;
public class Generator {
Copy link
Owner

Choose a reason for hiding this comment

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

нужен пропуск + название класса не совсем точное

MatrixToImageWriter.writeToPath(matrix, "JPG", Paths.get(path));
System.out.println("Qr good");
return 0;

Copy link
Owner

Choose a reason for hiding this comment

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

лишний пропуск) но уже потом исправлю

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.

2 participants